Re: [PATCH 1/2] arch/ia64/kvm/kvm-ia64.c: Add local_irq_restore in error handling code

2008-07-22 Thread Simon Holm Thøgersen
tir, 22 07 2008 kl. 18:44 +0200, skrev Julia Lawall: > From: Julia Lawall <[EMAIL PROTECTED]> > > There is a call to local_irq_restore in the normal exit case, so it would > seem that there should be one on an error return as well. > > The semantic patch that makes this change is as follows: > (h

Re: [PATCH 1/2] arch/ia64/kvm/kvm-ia64.c: Add local_irq_restore in error handling code

2008-07-22 Thread Julia Lawall
On Tue, 22 Jul 2008, Simon Holm Thøgersen wrote: > tir, 22 07 2008 kl. 18:44 +0200, skrev Julia Lawall: > > From: Julia Lawall <[EMAIL PROTECTED]> > > > > There is a call to local_irq_restore in the normal exit case, so it would > > seem that there should be one on an error return as well. > > >

[PATCH 1/2] arch/ia64/kvm/kvm-ia64.c: Add local_irq_restore in error handling code

2008-07-22 Thread Julia Lawall
From: Julia Lawall <[EMAIL PROTECTED]> There is a call to local_irq_restore in the normal exit case, so it would seem that there should be one on an error return as well. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @@ expression l; expressi