[patch] drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()

2015-11-04 Thread Dan Carpenter
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') Signed-off-by: Dan Carpenter --- I'm not terribly familiar w

[patch] drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()

2015-11-04 Thread Christian König
On 04.11.2015 14:25, Dan Carpenter wrote: > 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') > Signed-o

[patch] drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()

2015-11-04 Thread Alex Deucher
On Wed, Nov 4, 2015 at 9:10 AM, Christian König wrote: > On 04.11.2015 14:25, Dan Carpenter wrote: >> >> 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: