Re: [PATCH v2] pinctrl: freescale: imx-scmi: Use kmemdup_array instead of kmemdup for multiple allocation
From: Linus Walleij
Date: Mon Aug 26 2024 - 04:48:36 EST
On Fri, Aug 23, 2024 at 12:55 PM Shen Lichuan <shenlichuan@xxxxxxxx> wrote:
> Let the kmemdup_array() take care about multiplication
> and possible overflows.
>
> Signed-off-by: Shen Lichuan <shenlichuan@xxxxxxxx>
> Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
Patch applied.
Yours,
Linus Walleij