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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-exynos-arm64.c | ||
| pinctrl-exynos-arm.c | ||
| pinctrl-exynos.c | ||
| pinctrl-exynos.h | ||
| pinctrl-s3c64xx.c | ||
| pinctrl-samsung.c | ||
| pinctrl-samsung.h | ||