aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPankaj Dubey <[email protected]>2015-11-13 14:59:36 +0530
committerKrzysztof Kozlowski <[email protected]>2015-11-17 13:32:56 +0900
commitce36f6ad862fc3bc2466c89de17694e582a778b5 (patch)
tree4d46f511e6b7db8c625b611e9640d3276b2ec0bd /scripts/gdb/linux/utils.py
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf
If no platform devices binded to the driver but driver itself loaded and exynos_sys_powerdown_conf is called from arch/arm/mach-exynos/{suspend.c, pm.c} it will result in NULL pointer access, to prevent this added check on pmu_context for NULL. Signed-off-by: Pankaj Dubey <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Tested-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions