From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Thu, 27 May 2010 13:20:25 +0000 Subject: Re: [PATCH 10/17] arch/ia64/kvm: Add missing spin_unlock Message-Id: <4BFE7199.7060609@redhat.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ia64@vger.kernel.org On 05/26/2010 06:57 PM, Julia Lawall wrote: > From: Julia Lawall > > 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,...); > // > > Applied, thanks. -- error compiling committee.c: too many arguments to function