Re: [PATCH 1/12] arch/powerpc/kernel: Add missing unlock

2010-03-30 Thread Stephen Rothwell
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

[PATCH 1/12] arch/powerpc/kernel: Add missing unlock

2010-03-29 Thread Julia Lawall
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 ...; ...