aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorAlexandre Courbot <[email protected]>2017-03-15 05:44:34 +0000
committerDave Airlie <[email protected]>2017-03-17 00:08:24 +0000
commitaa7fc0ca759eb25eea6dc0fee4373e5883a17498 (patch)
tree28e38930e2446e3a9e201a2e0bd5b30a4be3768f /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge tag 'drm-misc-next-2017-03-12' of git://anongit.freedesktop.org/git/drm... (diff)
downloadkernel-aa7fc0ca759eb25eea6dc0fee4373e5883a17498.tar.gz
kernel-aa7fc0ca759eb25eea6dc0fee4373e5883a17498.zip
drm/nouveau/secboot: fix inconsistent pointer checking
We were returning PTR_ERR() on a NULL pointer, which obviously won't work. nvkm_engine_ref() will return an error in case something went wrong. Signed-off-by: Alexandre Courbot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions