Re: [PATCH] drm/msm: unlock on error in msm_gem_get_iova()

2017-07-10 Thread Sushmita Susheelendra
Thanks for the catch! -Sushmita On 2017-07-10 01:20, Dan Carpenter wrote: We recently added locking to this function but there was a direct return that was overlooked where we need to unlock. Fixes: 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex") Signed-off-by

[PATCH] drm/msm: unlock on error in msm_gem_get_iova()

2017-07-10 Thread Dan Carpenter
We recently added locking to this function but there was a direct return that was overlooked where we need to unlock. Fixes: 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex") Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm