forked from luck/tmp_suning_uos_patched
ef1e38532f
[ Upstream commit 84a85d3fef2e75b1fe9fc2af6f5267122555a1ed ] 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> |
||
---|---|---|
.. | ||
actions | ||
aspeed | ||
bcm | ||
berlin | ||
cirrus | ||
freescale | ||
intel | ||
mediatek | ||
meson | ||
mvebu | ||
nomadik | ||
nuvoton | ||
pxa | ||
qcom | ||
renesas | ||
samsung | ||
sirf | ||
spear | ||
sprd | ||
stm32 | ||
sunxi | ||
tegra | ||
ti | ||
uniphier | ||
visconti | ||
vt8500 | ||
zte | ||
core.c | ||
core.h | ||
devicetree.c | ||
devicetree.h | ||
Kconfig | ||
Makefile | ||
pinconf-generic.c | ||
pinconf.c | ||
pinconf.h | ||
pinctrl-amd.c | ||
pinctrl-amd.h | ||
pinctrl-artpec6.c | ||
pinctrl-as3722.c | ||
pinctrl-at91-pio4.c | ||
pinctrl-at91.c | ||
pinctrl-at91.h | ||
pinctrl-axp209.c | ||
pinctrl-bm1880.c | ||
pinctrl-coh901.c | ||
pinctrl-coh901.h | ||
pinctrl-da850-pupd.c | ||
pinctrl-da9062.c | ||
pinctrl-digicolor.c | ||
pinctrl-equilibrium.c | ||
pinctrl-equilibrium.h | ||
pinctrl-falcon.c | ||
pinctrl-gemini.c | ||
pinctrl-ingenic.c | ||
pinctrl-lantiq.c | ||
pinctrl-lantiq.h | ||
pinctrl-lpc18xx.c | ||
pinctrl-max77620.c | ||
pinctrl-mcp23s08_i2c.c | ||
pinctrl-mcp23s08_spi.c | ||
pinctrl-mcp23s08.c | ||
pinctrl-mcp23s08.h | ||
pinctrl-ocelot.c | ||
pinctrl-oxnas.c | ||
pinctrl-palmas.c | ||
pinctrl-pic32.c | ||
pinctrl-pic32.h | ||
pinctrl-pistachio.c | ||
pinctrl-rk805.c | ||
pinctrl-rockchip.c | ||
pinctrl-single.c | ||
pinctrl-st.c | ||
pinctrl-stmfx.c | ||
pinctrl-sx150x.c | ||
pinctrl-tb10x.c | ||
pinctrl-u300.c | ||
pinctrl-utils.c | ||
pinctrl-utils.h | ||
pinctrl-xway.c | ||
pinctrl-zynq.c | ||
pinmux.c | ||
pinmux.h |