linux_dsm_epyc7002/drivers/soc
Krzysztof Kozlowski 56a7c53c49 soc: samsung: exynos-asv: handle reading revision register error
commit 4561560dfb4f847a0b327d48bdd1f45bf1b6261f upstream.

If regmap_read() fails, the product_id local variable will contain
random value from the stack.  Do not try to parse such value and fail
the ASV driver probe.

Fixes: 5ea428595c ("soc: samsung: Add Exynos Adaptive Supply Voltage driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Link: https://lore.kernel.org/r/20201207190517.262051-3-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 11:38:32 +01:00
..
actions
amlogic soc: amlogic: canvas: add missing put_device() call in meson_canvas_get() 2020-12-30 11:53:27 +01:00
aspeed soc: aspeed: snoop: Add clock control logic 2021-03-04 11:37:29 +01:00
atmel drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] 2021-02-03 23:28:40 +01:00
bcm
dove
fsl soc: fsl: dpio: Get the cpumask through cpumask_of(cpu) 2020-11-23 19:27:45 -06:00
gemini
imx ARM: imx: fix imx8m dependencies 2021-02-03 23:28:45 +01:00
ixp4xx
kendryte
lantiq
mediatek soc: mediatek: Check if power domains can be powered on at boot time 2020-12-30 11:52:56 +01:00
qcom soc: qcom: ocmem: don't return NULL in of_get_ocmem 2021-03-04 11:37:27 +01:00
renesas soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains() 2020-12-30 11:52:56 +01:00
rockchip soc: rockchip: io-domain: Fix error return code in rockchip_iodomain_probe() 2020-12-30 11:53:34 +01:00
samsung soc: samsung: exynos-asv: handle reading revision register error 2021-03-04 11:38:32 +01:00
sifive
sunxi
tegra soc/tegra: fuse: Fix index bug in get_process_id 2020-12-26 16:02:38 +01:00
ti soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function 2021-03-04 11:37:25 +01:00
ux500
versatile
xilinx
zte
Kconfig
Makefile