diff options
author | Julia Lawall <julia@diku.dk> | 2010-03-29 11:35:24 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-04-17 11:54:38 -0400 |
commit | 42d284b986105a6ed5ac386818cae093532b2c55 (patch) | |
tree | 5441ac464dda59ce7e0885ccfb6f1e2b6da430ef /drivers/char/pcmcia | |
parent | 6f4567c8cf64d1887c8e993bbf066465262b392f (diff) |
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>
Diffstat (limited to 'drivers/char/pcmcia')
0 files changed, 0 insertions, 0 deletions