Hi Julia,
On Mon, 29 Mar 2010 17:33:34 +0200 (CEST) Julia Lawall wrote:
>
> From: Julia Lawall
>
> Add an unlock before exiting the function.
Thanks for this.
> Signed-off-by: Julia Lawall
Acked-by: Stephen Rothwell
--
Cheers,
Stephen Rothwells...@canb.auug.org.au
htt
From: Julia Lawall
Add an unlock before exiting the function.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
//
@r exists@
expression E1;
identifier f;
@@
f (...) { <+...
* spin_lock_irq (E1,...);
... when != E1
* return ...;
...