linux-stable/drivers/reset
Hui Tang 3a2390c677 reset: uniphier-glue: Fix possible null-ptr-deref
It will cause null-ptr-deref when resource_size(res) invoked,
if platform_get_resource() returns NULL.

Fixes: 499fef09a3 ("reset: uniphier: add USB3 core reset control")
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20221114004958.258513-1-tanghui20@huawei.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2023-01-03 11:30:46 +01:00
..
hisilicon
sti
tegra
Kconfig reset: ti-sci: honor TI_SCI_PROTOCOL setting when not COMPILE_TEST 2023-01-03 11:29:33 +01:00
Makefile reset: add polarfire soc reset support 2022-09-14 10:55:17 +03:00
core.c
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-bcm6345.c
reset-berlin.c
reset-brcmstb-rescal.c
reset-brcmstb.c
reset-hsdk.c
reset-imx7.c reset: imx7: Fix the iMX8MP PCIe PHY PERST support 2022-08-30 16:28:48 +02:00
reset-intel-gw.c
reset-k210.c
reset-lantiq.c
reset-lpc18xx.c
reset-meson-audio-arb.c
reset-meson.c
reset-microchip-sparx5.c reset: microchip-sparx5: issue a reset on startup 2022-08-30 16:29:41 +02:00
reset-mpfs.c reset: add polarfire soc reset support 2022-09-14 10:55:17 +03:00
reset-npcm.c reset: npcm: fix iprst2 and iprst4 setting 2022-09-22 17:48:35 +02:00
reset-oxnas.c
reset-pistachio.c
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-raspberrypi.c
reset-rzg2l-usbphy-ctrl.c
reset-scmi.c
reset-simple.c
reset-socfpga.c
reset-starfive-jh7100.c
reset-sunplus.c reset: Add Sunplus SP7021 reset driver 2022-07-08 14:23:39 +02:00
reset-sunxi.c
reset-ti-sci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_320.RULE 2022-06-10 14:51:36 +02:00
reset-ti-syscon.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_320.RULE 2022-06-10 14:51:36 +02:00
reset-tn48m.c
reset-tps380x.c reset: tps380x: Fix spelling mistake "Voltags" -> "Voltage" 2022-07-28 14:08:50 +02:00
reset-uniphier-glue.c reset: uniphier-glue: Fix possible null-ptr-deref 2023-01-03 11:30:46 +01:00
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c