diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2017-10-09 10:43:53 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-10-16 07:44:48 +0900 |
commit | 0a51897bfac9886d36e986d009df0317582b19a2 (patch) | |
tree | cdcb0d3dae6cf559a8c953168ad734fbf5ce948a /tools/perf/scripts/python/intel-pt-events.py | |
parent | a480f30846d19b50106b3243d9d48683d2966249 (diff) |
drm/exynos: Fix potential NULL pointer dereference in suspend/resume paths
The patch 6e8edf8a7d8d: "drm/exynos: Fix suspend/resume support" introduced
a new code in suspend/resume paths. However it unconditionally dereference
drm_dev pointer, which might be NULL if suspend/resume happens before
Exynos DRM driver components bind. This patch fixes this issue.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 6e8edf8a7d8d "drm/exynos: Fix suspend/resume support"
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions