diff options
author | Julia Lawall <julia@diku.dk> | 2010-08-11 05:02:03 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 19:59:05 +0400 |
commit | 32fa45498f843fcf56087b8046d8319fcd455ef0 (patch) | |
tree | cbe18bcf77ca68fdc4cb9200c7ffdecc31bacb27 /drivers/ps3 | |
parent | 568133ebda39f7507759a744fa9cf4d5097bad2f (diff) | |
download | linux-32fa45498f843fcf56087b8046d8319fcd455ef0.tar.xz |
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 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions