From: Julia Lawall Date: Tue, 20 Jul 2010 22:22:44 +0000 (-0300) Subject: V4L/DVB: drivers/video/omap2/displays: add missing mutex_unlock X-Git-Tag: v2.6.36-rc1~582^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c79b496a713dac1a706845bdd047aae15421ef5;p=pandora-kernel.git V4L/DVB: drivers/video/omap2/displays: add missing mutex_unlock Add a mutex_unlock missing on the error paths. The use of the mutex is balanced elsewhere in the file. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E1; @@ * mutex_lock(E1,...); <+... when != E1 if (...) { ... when != E1 * return ...; } ...+> * mutex_unlock(E1,...); // Signed-off-by: Julia Lawall Acked-by: Mike Isely Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed