diff options
author | Noralf Trønnes <[email protected]> | 2019-05-15 15:29:25 +0200 |
---|---|---|
committer | Noralf Trønnes <[email protected]> | 2019-05-16 12:01:46 +0200 |
commit | 0586576950d5dd34d70cca7adba85e5fb08664f7 (patch) | |
tree | ed13dc0fc3a3e2c1d5008a82aea1beb1b313670b /tools/perf/scripts/python/intel-pt-events.py | |
parent | 86d804f41e5d9e6e1af01539d85137db91992094 (diff) |
drm/fb-helper: Fix drm_fb_helper_hotplug_event() NULL ptr argument
drm_fb_helper_hotplug_event() should tolerate the fb_helper argument being
NULL. Commit 03a9606e7fee ("drm/fb-helper: Avoid race with DRM userspace")
introduced a fb_helper dereference before the NULL check.
Fixup by moving the dereference after the NULL check.
Fixes: 03a9606e7fee ("drm/fb-helper: Avoid race with DRM userspace")
Reported-by: kbuild test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Noralf Trønnes <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions