diff options
author | Julia Lawall <julia@diku.dk> | 2010-08-10 18:02:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 08:59:05 -0700 |
commit | 32fa45498f843fcf56087b8046d8319fcd455ef0 (patch) | |
tree | cbe18bcf77ca68fdc4cb9200c7ffdecc31bacb27 /lib/bug.c | |
parent | 568133ebda39f7507759a744fa9cf4d5097bad2f (diff) | |
download | kernel_samsung_smdk4412-32fa45498f843fcf56087b8046d8319fcd455ef0.zip kernel_samsung_smdk4412-32fa45498f843fcf56087b8046d8319fcd455ef0.tar.gz kernel_samsung_smdk4412-32fa45498f843fcf56087b8046d8319fcd455ef0.tar.bz2 |
drivers/message/i2o/exec-osm.c: add missing mutex_unlock
Add a mutex_unlock missing on the error path.
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions