WSL2-Linux-Kernel/drivers/pinctrl/aspeed
Haowen Bai 3cb392b643 pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
[ Upstream commit 84a85d3fef ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-21 21:24:36 +02:00
..
Kconfig pinctrl: aspeed: Add AST2600 pinmux support 2019-08-05 12:41:18 +02: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: remove FWQSPID group in pinctrl 2022-05-25 09:57:29 +02:00
pinctrl-aspeed.c pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux() 2022-07-21 21:24:36 +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