diff options
author | Peter Senna Tschudin | 2014-03-20 04:31:08 +0100 |
---|---|---|
committer | Jeff Kirsher | 2014-04-01 00:48:03 +0200 |
commit | 75009b3a88cd8f56315eb4ced296ee2f060cf946 (patch) | |
tree | ef402ff74fd803f3db0ad2439b8027b238f7da47 /drivers/net/ethernet/intel/ixgbe/ixgbe.h | |
parent | i40e: Remove casts of pointer to same type (diff) | |
download | kernel-qcow2-linux-75009b3a88cd8f56315eb4ced296ee2f060cf946.tar.gz kernel-qcow2-linux-75009b3a88cd8f56315eb4ced296ee2f060cf946.tar.xz kernel-qcow2-linux-75009b3a88cd8f56315eb4ced296ee2f060cf946.zip |
INTEL-IGB: 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>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe.h')
0 files changed, 0 insertions, 0 deletions