1
linux/drivers/pinctrl/samsung
Shen Lichuan 39dbbd4e67 pinctrl: samsung: Use kmemdup_array instead of kmemdup for multiple allocation
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@vivo.com>
Link: https://lore.kernel.org/r/20240823114441.50648-1-shenlichuan@vivo.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2024-08-23 15:40:55 +02:00
..
Kconfig
Makefile
pinctrl-exynos-arm64.c pinctrl: samsung: add exynosautov920 pinctrl 2023-12-13 08:49:33 +01:00
pinctrl-exynos-arm.c pinctrl: samsung: Add support for pull-up and pull-down 2024-08-08 17:22:04 +02:00
pinctrl-exynos.c pinctrl: samsung: Use scope based of_node_put() cleanups 2024-08-05 09:30:15 +02:00
pinctrl-exynos.h pinctrl: samsung: add exynosautov920 pinctrl 2023-12-13 08:49:33 +01:00
pinctrl-s3c64xx.c pinctrl: samsung: Add support for pull-up and pull-down 2024-08-08 17:22:04 +02:00
pinctrl-samsung.c pinctrl: samsung: Use kmemdup_array instead of kmemdup for multiple allocation 2024-08-23 15:40:55 +02:00
pinctrl-samsung.h pinctrl: samsung: Add support for pull-up and pull-down 2024-08-08 17:22:04 +02:00