]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix missing unlock on error in i915_ppgtt_info()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 Jun 2016 23:42:00 +0000 (23:42 +0000)
committerJani Nikula <jani.nikula@intel.com>
Thu, 30 Jun 2016 10:30:15 +0000 (13:30 +0300)
commit46a2c2fc1e5cc17a9c4c12f3212c1a577ab24433
tree7096f9c1e96546fd3d2b30461a0c4c8f5e64d4c7
parentd0d5644779a228af2c6269e5fd949a17b0e80d1d
drm/i915: Fix missing unlock on error in i915_ppgtt_info()

Add the missing unlock before return from function i915_ppgtt_info()
in the error handling case.

Fixes: 5f72f8a7f3d1(drm: Protect dev->filelist with its own mutex)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465861320-26221-1-git-send-email-weiyj_lk@163.com
(cherry picked from commit b0212486909de4f239ca9f20d032de1b1f2dc52e)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c