[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <172442049174.83535.13112470931201037762.b4-ty@linaro.org>
Date: Fri, 23 Aug 2024 15:41:31 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: krzk@...nel.org, s.nawrocki@...sung.com, linus.walleij@...aro.org,
Shen Lichuan <shenlichuan@...o.com>
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 Fri, 23 Aug 2024 19:44:41 +0800, 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.
>
>
> [...]
Applied, thanks!
[1/1] drivers: pinctrl: samsung: Use kmemdup_array instead of kmemdup for multiple allocation
https://git.kernel.org/pinctrl/samsung/c/39dbbd4e6778ac5580313ba34409855250633c61
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Powered by blists - more mailing lists