Commit 5e633f57 authored by Shen Lichuan's avatar Shen Lichuan Committed by Geert Uytterhoeven
Browse files

pinctrl: renesas: Switch to use kmemdup_array()



Let kmemdup_array() take care of multiplication and possible overflow.

Signed-off-by: default avatarShen Lichuan <shenlichuan@vivo.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240822061438.14617-1-shenlichuan@vivo.com


Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent f73f63b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment