Commit ca428f12 authored by Shen Lichuan's avatar Shen Lichuan Committed by Linus Walleij
Browse files

drivers/pinctrl: Switch to use kmemdup_array()



Let the kememdup_array() take care about
multiplication and possible overflows.

Signed-off-by: default avatarShen Lichuan <shenlichuan@vivo.com>
Link: https://lore.kernel.org/20240822044156.2301-1-shenlichuan@vivo.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0f978da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment