summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/suspend.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-05-13 17:45:52 +0900
committerKukjin Kim <kgene@kernel.org>2015-05-13 17:45:52 +0900
commit0b7dc0ff95237a53287e52f1aab7408ebf1c4085 (patch)
treeb7a508e517282ed0f1e066eb829c1ed883c9a8d7 /arch/arm/mach-exynos/suspend.c
parente5cbec617f1791256197ebaca8b04c0eb96fc574 (diff)
downloadlinux-0b7dc0ff95237a53287e52f1aab7408ebf1c4085.tar.bz2
ARM: EXYNOS: Fix dereference of ERR_PTR returned by of_genpd_get_from_provider
ERR_PTR was dereferenced during sub domain parsing, if parent domain could not be obtained (because of invalid phandle or deferred registration of parent domain). The Exynos power domain code checked whether of_genpd_get_from_provider() returned NULL and in that case it skipped that power domain node. However this function returns ERR_PTR or valid pointer, not NULL. Fixes: 0f7807518fe1 ("ARM: EXYNOS: add support for sub-power domains") Cc: <stable@vger.kernel.org> [4.0+] Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/mach-exynos/suspend.c')
0 files changed, 0 insertions, 0 deletions