kernel_optimize_test/drivers/atm
Julia Lawall 8ae0cfee2a drivers/atm/solos-pci.c: exchange pci_iounmaps
The calls to pci_iounmap are in the wrong order, as compared to the
associated calls to pci_iomap.

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

// <smpl>
@@
expression e,x;
statement S,S1;
int ret;
@@
e = pci_iomap(x,...)
... when != pci_iounmap(x,e)
if (<+...e...+>) S
... when any
    when != pci_iounmap(x,e)
*if (...)
   { ... when != pci_iounmap(x,e)
     return ...; }
... when any
pci_iounmap(x,e);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-19 18:57:51 -05:00
..
.gitignore
adummy.c
ambassador.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
ambassador.h ATM: Delete no use FILL_RX_POOLS_IN_BH marco 2011-07-08 09:06:31 -07:00
atmtcp.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eni.c net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
eni.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
firestream.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
firestream.h
fore200e.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
fore200e.h
he.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
he.h
horizon.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
horizon.h
idt77105.c
idt77105.h
idt77252_tables.h
idt77252.c Merge branch 'master' into for-next 2011-09-15 15:08:18 +02:00
idt77252.h
iphase.c atm: eliminate atm_guess_pdu2truesize() 2011-11-26 16:40:30 -05:00
iphase.h atm/iphase : removal of PCI space dereferences. 2011-10-03 14:09:10 -04:00
Kconfig
lanai.c atm: Convert vmalloc/memset to vzalloc 2011-09-15 13:55:02 +02:00
Makefile
midway.h
nicstar.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c drivers/atm/solos-pci.c: exchange pci_iounmaps 2012-02-19 18:57:51 -05:00
suni.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
suni.h
tonga.h
uPD98401.h
uPD98402.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
uPD98402.h
zatm.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
zatm.h
zeprom.h