kernel_optimize_test/drivers
Julia Lawall 25cecd7e35 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c: add missing iounmap
Add missing iounmap in error handling code, in a case where the function
already preforms iounmap on some other execution path.

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

// <smpl>
@@
expression e;
statement S,S1;
int ret;
@@
e = \(ioremap\|ioremap_nocache\)(...)
... when != iounmap(e)
if (<+...e...+>) S
... when any
    when != iounmap(e)
*if (...)
   { ... when != iounmap(e)
     return ...; }
... when any
iounmap(e);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-01-12 20:05:28 -08:00
..
accessibility
acpi
amba
ata New feature development 2012-01-09 14:38:51 -08:00
atm
auxdisplay
base
bcma
block
bluetooth
cdrom
char
clk
clocksource
connector
cpufreq
cpuidle
crypto
dca
devfreq
dio
dma clock management changes for i.MX 2012-01-09 14:44:15 -08:00
edac
eisa
firewire
firmware
gpio Driver specific changes 2012-01-09 14:39:22 -08:00
gpu
hid
hv
hwmon
hwspinlock
i2c Driver specific changes 2012-01-09 14:39:22 -08:00
ide
idle
ieee802154
infiniband
input Driver specific changes 2012-01-09 14:39:22 -08:00
iommu
isdn drivers: isdn: Fix dependency for ISDN_PPP 2012-01-10 14:57:20 -08:00
leds
lguest
macintosh
mca
md
media Cleanups on various subarchitectures 2012-01-09 14:21:03 -08:00
memstick
message
mfd Driver specific changes 2012-01-09 14:39:22 -08:00
misc
mmc clock management changes for i.MX 2012-01-09 14:44:15 -08:00
mtd clock management changes for i.MX 2012-01-09 14:44:15 -08:00
net drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c: add missing iounmap 2012-01-12 20:05:28 -08:00
nfc
nubus
of
oprofile
parisc
parport
pci
pcmcia
pinctrl
platform
pnp
power
pps
ps3
ptp
rapidio
regulator
rtc Driver specific changes 2012-01-09 14:39:22 -08:00
s390
sbus
scsi
sfi
sh
sn
spi Cleanups for the Samsung platforms 2012-01-09 14:30:28 -08:00
ssb
staging
target
tc
telephony
thermal
tty Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2012-01-09 14:47:06 -08:00
uio
usb Driver specific changes 2012-01-09 14:39:22 -08:00
uwb
vhost
video clock management changes for i.MX 2012-01-09 14:44:15 -08:00
virt
virtio
vlynq
w1
watchdog Cleanups on various subarchitectures 2012-01-09 14:21:03 -08:00
xen
zorro
Kconfig
Makefile