Re: [PATCH v1] drivers/pinctrl/renesas: Switch to use kmemdup_array()

From: Geert Uytterhoeven
Date: Fri Aug 23 2024 - 08:43:55 EST


Hi Shen,

Thanks for your patch!

"pinctrl: renesas: ..."

On Thu, Aug 22, 2024 at 8:15 AM Shen Lichuan <shenlichuan@xxxxxxxx> wrote:
> Let the kememdup_array() take care about

kmemdup_array

> multiplication and possible overflows.
>
> Signed-off-by: Shen Lichuan <shenlichuan@xxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in renesas-pinctrl for v6.12 with the above fixed.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds