From: Julia Lawall Date: Mon, 29 Mar 2010 05:34:46 +0000 (+0000) Subject: powerpc/pmac: Add missing unlocks in error path X-Git-Tag: v2.6.35-rc1~450^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86e4754ac8fde9a9c913571016bc31257aa2e195;p=pandora-kernel.git 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/) // @r exists@ expression E1; identifier f; @@ f (...) { <+... * spin_lock_irqsave (E1,...); ... when != E1 * return ...; ...+> } // Signed-off-by: Julia Lawall Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed