Julia Lawall d7015c120e [S390] arch/s390/kernel: Add missing unlock
In the default case the lock is not unlocked.  The return is
converted to a goto, to share the unlock at the end of the function.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r exists@
expression E1;
identifier f;
@@

f (...) { <+...
* spin_lock_irq (E1,...);
... when != E1
* return ...;
...+> }
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-04-09 13:43:01 +02:00
..
2009-02-11 10:37:39 +01:00
2009-09-11 10:29:43 +02:00
2009-09-11 10:29:43 +02:00
2009-06-12 10:27:29 +02:00
2009-11-05 07:53:53 +01:00
2010-03-08 16:55:37 +01:00
2009-12-18 17:43:32 +01:00
2009-10-06 10:35:06 +02:00
2009-11-05 07:53:53 +01:00