commit | 86e4754ac8fde9a9c913571016bc31257aa2e195 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Mon Mar 29 05:34:46 2010 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Apr 07 18:00:44 2010 +1000 |
tree | c96a3df8769e488a6a03e40c330e9cacc872045a | |
parent | f6d8c8bb1d360272d795927d39f3d2c5934e77d9 [diff] |
powerpc/pmac: Add missing unlocks in error path In some error handling cases the lock is not unlocked. 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_irqsave (E1,...); ... when != E1 * return ...; ...+> } // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>