From: Julia Lawall Date: Wed, 26 May 2010 15:59:27 +0000 (+0200) Subject: sound: Add missing spin_unlock X-Git-Tag: v2.6.35-rc1~17^2~1^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1efddcc981c95e62c4e305fd462e3e98b6f9c5cd;p=pandora-kernel.git sound: Add missing spin_unlock Add a spin_unlock missing on the error path. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E1; @@ * spin_lock(E1,...); <+... when != E1 if (...) { ... when != E1 * return ...; } ...+> * spin_unlock(E1,...); // Signed-off-by: Julia Lawall Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed