drivers/pcmcia: Add missing local_irq_restore
authorJulia Lawall <julia@diku.dk>
Mon, 29 Mar 2010 15:35:24 +0000 (17:35 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 17 Apr 2010 15:54:38 +0000 (17:54 +0200)
commit42d284b986105a6ed5ac386818cae093532b2c55
tree5441ac464dda59ce7e0885ccfb6f1e2b6da430ef
parent6f4567c8cf64d1887c8e993bbf066465262b392f
drivers/pcmcia: Add missing local_irq_restore

Use local_irq_restore in this error-handling case just like in the one just
below.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r exists@
expression E1;
identifier f;
@@

f (...) { <+...
* local_irq_save (E1,...);
... when != E1
* return ...;
...+> }
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/db1xxx_ss.c