diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-27 17:09:09 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-11-28 08:39:41 +0100 |
commit | a2ec1c132a593ac4f05eb8d02834c4675a4aea07 (patch) | |
tree | f7b715f3efb8cde8211b6db1397a545195421dde /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 75df62478c84e101e0c4141e4e6c3ed10163de1f (diff) |
drm: Avoid NULL dereference for DRM_LEGACY debug message
smatch warns:
drivers/gpu/drm/drm_lock.c:188 drm_legacy_lock() warn:
variable dereferenced before check 'master->lock.hw_lock' (see line 177)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161127170910.29106-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions