kernel_optimize_test/drivers/pinctrl
Haowen Bai ef1e38532f pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
[ 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>
2022-07-21 21:20:15 +02:00
..
actions pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
aspeed pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux() 2022-07-21 21:20:15 +02:00
bcm pinctrl: bcm2835: implement hook for missing gpio-ranges 2022-06-09 10:21:15 +02:00
berlin
cirrus
freescale pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
intel pinctrl: intel: fix unexpected interrupt 2022-02-08 18:30:39 +01:00
mediatek pinctrl: mediatek: moore: Fix build error 2022-05-09 09:05:02 +02:00
meson
mvebu pinctrl: mvebu: Fix irq_of_parse_and_map() return value 2022-06-09 10:21:16 +02:00
nomadik pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe 2022-04-08 14:40:28 +02:00
nuvoton pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE() 2022-04-08 14:40:41 +02:00
pxa
qcom pinctrl: qcom: sdm845: Enable dual edge errata 2021-11-26 10:39:18 +01:00
renesas pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources() 2022-06-09 10:21:16 +02:00
samsung pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config 2022-05-09 09:04:59 +02:00
sirf
spear
sprd
stm32 pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested 2022-05-09 09:05:03 +02:00
sunxi pinctrl: sunxi: sunxi_pconf_set: use correct offset 2022-07-12 16:32:20 +02:00
tegra
ti
uniphier
visconti
vt8500
zte
core.c pinctrl: core: fix possible memory leak in pinctrl_enable() 2021-11-18 14:03:51 +01:00
core.h
devicetree.c
devicetree.h
Kconfig
Makefile
pinconf-generic.c pinctrl: pinconf-generic: Print arguments for bias-pull-* 2022-04-08 14:40:41 +02:00
pinconf.c
pinconf.h
pinctrl-amd.c pinctrl: amd: disable and mask interrupts on probe 2021-11-02 19:48:19 +01:00
pinctrl-amd.h
pinctrl-artpec6.c
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
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: Fix function addition in multiple groups 2021-11-18 14:04:20 +01:00
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: pistachio: fix use of irq_of_parse_and_map() 2022-05-09 09:05:03 +02:00
pinctrl-rk805.c
pinctrl-rockchip.c pinctrl: rockchip: fix RK3308 pinmux bits 2022-05-09 09:05:03 +02:00
pinctrl-single.c pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry() 2021-09-18 13:40:14 +02:00
pinctrl-st.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-stmfx.c
pinctrl-sx150x.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pinctrl-tb10x.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h