diff options
| author | Julia Lawall <[email protected]> | 2010-08-10 18:02:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-11 08:59:05 -0700 |
| commit | 32fa45498f843fcf56087b8046d8319fcd455ef0 (patch) | |
| tree | cbe18bcf77ca68fdc4cb9200c7ffdecc31bacb27 /scripts | |
| parent | 568133ebda39f7507759a744fa9cf4d5097bad2f (diff) | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions