diff options
author | Chris Wilson <[email protected]> | 2016-12-30 14:16:39 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-12-30 15:29:44 +0100 |
commit | 6098909cf2d0f9dda63aed3b6651d91f7ce6a473 (patch) | |
tree | e947e57af64f37a4891bd9591b33acf65120a62a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 824387b2f6a1a177bf518a61ebbf861ae058f45d (diff) |
drm: Avoid NULL dereference of drm_device.dev
For a virtual device, drm_device.dev is NULL, so becareful not to
dereference it unconditionally in core code such as drm_dev_register().
Fixes: 75f6dfe3e652 ("drm: Deduplicate driver initialization message")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Gabriel Krisman Bertazi <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions