diff options
author | Shen Lichuan <shenlichuan@vivo.com> | 2024-08-22 09:14:38 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-08-23 16:46:17 +0300 |
commit | 5e633f572bbae9397ee50347bbe0529894de4137 (patch) | |
tree | 323ef29193f64065279e9015f1eb01b48e3b6ff0 /drivers/pinctrl/pinctrl-single.c | |
parent | f73f63b24491fa43641daf3b6162d2a451bd8481 (diff) | |
download | linux-5e633f572bbae9397ee50347bbe0529894de4137.tar.xz |
pinctrl: renesas: Switch to use kmemdup_array()
Let kmemdup_array() take care of multiplication and possible overflow.
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240822061438.14617-1-shenlichuan@vivo.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/pinctrl/pinctrl-single.c')
0 files changed, 0 insertions, 0 deletions