OpenCloudOS-Kernel/drivers/pinctrl/aspeed
Haowen Bai 84a85d3fef pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
pdesc could be null but still dereference pdesc->name and it will lead to
a null pointer access. So we move a null check before dereference.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1650508019-22554-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-06-15 15:19:57 +02:00
..
Kconfig pinctrl: aspeed: fix unmet dependencies on MFD_SYSCON for PINCTRL_ASPEED 2021-12-16 04:28:49 +01:00
Makefile pinctrl: aspeed: Add AST2600 pinmux support 2019-08-05 12:41:18 +02:00
pinctrl-aspeed-g4.c pinctrl: aspeed: Use masks to describe pinconf bitfields 2019-12-13 09:40:37 +01:00
pinctrl-aspeed-g5.c pinctrl: aspeed: Fix minor documentation error 2021-05-19 02:11:18 +02:00
pinctrl-aspeed-g6.c pinctrl: pinctrl-aspeed-g6: add FWQSPI function-group 2022-04-13 11:53:52 +09:30
pinctrl-aspeed.c pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux() 2022-06-15 15:19:57 +02:00
pinctrl-aspeed.h pinctrl: aspeed-g6: Add AST2600 pinconf support 2019-12-13 09:41:01 +01:00
pinmux-aspeed.c pinctrl: aspeed: placate kernel-doc warnings 2021-08-10 15:29:44 +02:00
pinmux-aspeed.h isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00