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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-aspeed-g4.c | ||
pinctrl-aspeed-g5.c | ||
pinctrl-aspeed-g6.c | ||
pinctrl-aspeed.c | ||
pinctrl-aspeed.h | ||
pinmux-aspeed.c | ||
pinmux-aspeed.h |