diff options
author | Julia Lawall <julia@diku.dk> | 2010-07-20 19:22:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 16:42:59 -0300 |
commit | 5c79b496a713dac1a706845bdd047aae15421ef5 (patch) | |
tree | 10bf7fa2f02b37342350b26334a18d4a110223b8 /drivers/media/video/au0828 | |
parent | febe2ea10e041c014b295a0321f7ec62c05b7e3f (diff) | |
download | kernel_samsung_tuna-5c79b496a713dac1a706845bdd047aae15421ef5.zip kernel_samsung_tuna-5c79b496a713dac1a706845bdd047aae15421ef5.tar.gz kernel_samsung_tuna-5c79b496a713dac1a706845bdd047aae15421ef5.tar.bz2 |
V4L/DVB: drivers/video/omap2/displays: add missing mutex_unlock
Add a mutex_unlock missing on the error paths. The use of the mutex is
balanced elsewhere in the file.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression E1;
@@
* mutex_lock(E1,...);
<+... when != E1
if (...) {
... when != E1
* return ...;
}
...+>
* mutex_unlock(E1,...);
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828')
0 files changed, 0 insertions, 0 deletions