diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2014-03-18 20:11:24 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-19 00:12:56 +0400 |
commit | 3e3d35402140f15a626f24afafb0d7fc3b2e5aa2 (patch) | |
tree | dc16ffb7056e97ba535da43ce13db563646a113f /net/atm/addr.c | |
parent | 7346135dcd3f9b57f30a5512094848c678d7143e (diff) | |
download | linux-3e3d35402140f15a626f24afafb0d7fc3b2e5aa2.tar.xz |
ATHEROS-ATL1E: Convert iounmap to pci_iounmap
Use pci_iounmap instead of iounmap when the virtual mapping was done
with pci_iomap. A simplified version of the semantic patch that finds this
issue is as follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r@
expression addr;
@@
addr = pci_iomap(...)
@rr@
expression r.addr;
@@
* iounmap(addr)
// </smpl>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/addr.c')
0 files changed, 0 insertions, 0 deletions