On 05/26/2010 06:57 PM, Julia Lawall wrote:
From: Julia Lawall<ju...@diku.dk>

Add a spin_unlock missing on the error path.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

//<smpl>
@@
expression E1;
@@

* spin_lock(E1,...);
   <+... when != E1
   if (...) {
     ... when != E1
*   return ...;
   }
   ...+>
* spin_unlock(E1,...);
//</smpl>


Applied, thanks.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to