drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Nov 2015 13:25:09 +0000 (16:25 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Nov 2015 17:29:21 +0000 (12:29 -0500)
commit4cfdcd9cecc05646b08805ba449811a645b3f4a8
tree8671c0bb0272a75a644e8ae0b83dbe70d60778b2
parenta7ca8ef93001eaab4c5c7f4f3accfbe6ffcf5f26
drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()

We recently changed the locking in this function and now there is a
missing unlock on error.  Also there are some other resources that we
should probably release as well...

Fixes: f48b2659f521 ('drm/amdgpu: fix the broken vm->mutex V2')
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
This page took 0.024644 seconds and 5 git commands to generate.