[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0b25b335-5817-4035-920d-e844435397a6@kernel.org>
Date: Fri, 23 Aug 2024 15:42:18 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Shen Lichuan <shenlichuan@...o.com>, s.nawrocki@...sung.com,
linus.walleij@...aro.org
Cc: alim.akhtar@...sung.com, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, opensource.kernel@...o.com
Subject: Re: [PATCH v2] drivers: pinctrl: samsung: Use kmemdup_array instead
of kmemdup for multiple allocation
On 23/08/2024 13:44, Shen Lichuan wrote:
> Let the kmemdup_array() take care about multiplication
> and possible overflows.
>
> Using kmemdup_array() is more appropriate and makes the code
> easier to audit.
>
> Signed-off-by: Shen Lichuan <shenlichuan@...o.com>
> ---
> v1->v2: modified commit message and code format according to Linux coding style and submission process
> ---
> drivers/pinctrl/samsung/pinctrl-samsung.c | 4 ++--
I missed last time, subject is without "drivers:". I think only few
subsystems expect drivers.
You can get prefix for example with `git log --oneline --
DIRECTORY_OR_FILE` on the directory your patch is touching.
No need to resend, fixed up.
Best regards,
Krzysztof
Powered by blists - more mailing lists