1
linux/drivers/pinctrl/stm32
Ma Ke b0f0e3f055 pinctrl: stm32: check devm_kasprintf() returned value
devm_kasprintf() can return a NULL pointer on failure but this returned
value is not checked. Fix this lack and check the returned value.

Found by code review.

Cc: stable@vger.kernel.org
Fixes: 32c170ff15 ("pinctrl: stm32: set default gpio line names using pin names")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Link: https://lore.kernel.org/20240906100326.624445-1-make24@iscas.ac.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2024-10-01 14:03:34 +02:00
..
Kconfig
Makefile
pinctrl-stm32.c pinctrl: stm32: check devm_kasprintf() returned value 2024-10-01 14:03:34 +02:00
pinctrl-stm32.h
pinctrl-stm32f429.c
pinctrl-stm32f469.c
pinctrl-stm32f746.c
pinctrl-stm32f769.c
pinctrl-stm32h743.c
pinctrl-stm32mp135.c
pinctrl-stm32mp157.c
pinctrl-stm32mp257.c pinctrl: stm32: fix PM support for stm32mp257 2024-02-13 09:42:22 +01:00