diff options
author | Julia Lawall | 2012-02-19 10:43:32 +0100 |
---|---|---|
committer | David S. Miller | 2012-02-20 00:57:51 +0100 |
commit | 8ae0cfee2a727f698bda12e530f4879a9793c6c9 (patch) | |
tree | b7f1fd01e36a19c6f4acc285723d1f049d7860c9 /REPORTING-BUGS | |
parent | net/ethernet: ks8851_mll: signedness bug in ks8851_probe() (diff) | |
download | kernel-qcow2-linux-8ae0cfee2a727f698bda12e530f4879a9793c6c9.tar.gz kernel-qcow2-linux-8ae0cfee2a727f698bda12e530f4879a9793c6c9.tar.xz kernel-qcow2-linux-8ae0cfee2a727f698bda12e530f4879a9793c6c9.zip |
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>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions