Re: [PATCH v2] pinctrl: renesas: Switch to use kmemdup_array()

From: Geert Uytterhoeven
Date: Mon Aug 26 2024 - 03:25:19 EST


Hi Shen,

On Mon, Aug 26, 2024 at 5:16 AM 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: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> v1 -> v2:
> * Changed subject prefix to "pinctrl: renesas: "
> * Fixed spelling mistakes
> * Adapted code formatting to linux coding style

Thanks for the update!

I had already applied a fixed version of v1 to renesas-pinctrl:
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=renesas-pinctrl-for-v6.12&id=5e633f572bbae9397ee50347bbe0529894de4137

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