linux/drivers/soc/samsung
Dan Carpenter 89e551e838 soc: samsung: exynos-asv: Potential NULL dereference in exynos_asv_update_opps()
The dev_pm_opp_get_opp_table() returns error pointers if it's disabled
in the config and it returns NULL if there is an error.  This code only
checks for error pointers so it could lead to an Oops inside the
dev_pm_opp_put_opp_table() function.

Fixes: 5ea428595c ("soc: samsung: Add Exynos Adaptive Supply Voltage driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2019-10-30 19:04:32 +01:00
..
Kconfig soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
Makefile soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
exynos-asv.c soc: samsung: exynos-asv: Potential NULL dereference in exynos_asv_update_opps() 2019-10-30 19:04:32 +01:00
exynos-asv.h soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
exynos-chipid.c soc: samsung: chipid: Drop "syscon" compatible requirement 2019-10-28 18:02:04 +01:00
exynos-pmu.c soc: samsung: pmu: Populate children syscon nodes 2018-02-13 18:47:25 +01:00
exynos-pmu.h soc: samsung: Add SPDX license identifiers 2018-01-03 18:45:15 +01:00
exynos4-pmu.c soc: samsung: Add SPDX license identifiers 2018-01-03 18:45:15 +01:00
exynos3250-pmu.c soc: samsung: Add SPDX license identifiers 2018-01-03 18:45:15 +01:00
exynos5250-pmu.c soc: samsung: Add SPDX license identifiers 2018-01-03 18:45:15 +01:00
exynos5420-pmu.c soc: samsung: Add SPDX license identifiers 2018-01-03 18:45:15 +01:00
exynos5422-asv.c soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
exynos5422-asv.h soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
pm_domains.c soc: samsung: pm_domains: Deprecate support for clocks 2018-04-17 17:25:42 +02:00