Re: [PATCH v2] drivers: pinctrl: samsung: Use kmemdup_array instead of kmemdup for multiple allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
> ---
> 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





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux