]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm: drm_fops.c unlock missing on error path
authorDan Carpenter <error27@gmail.com>
Fri, 27 Mar 2009 10:34:28 +0000 (13:34 +0300)
committerDave Airlie <airlied@redhat.com>
Sun, 29 Mar 2009 08:31:47 +0000 (18:31 +1000)
commitdba5ed0cd12d8db5c0d2e1c869c2a50c5bcf6743
tree2f3eae8165b595270c77e7c591701d86c4e3aeac
parentc972d750e4fa3bfee6e7d3635729bf8c9cbb8f0a
drm: drm_fops.c unlock missing on error path

drm_open_helper() from drm_fops.c had a missing mutex_unlock in a error
path.

This was caught by smatch (http://repo.or.cz/w/smatch.git/).  Compile
tested.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fops.c