android_kernel_xiaomi_sm8450/drivers/message
Julia Lawall 32fa45498f 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>
2010-08-11 08:59:05 -07:00
..
fusion mpt fusion: convert to seq_file 2010-08-11 08:59:00 -07:00
i2o drivers/message/i2o/exec-osm.c: add missing mutex_unlock 2010-08-11 08:59:05 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00