Tag: 3e3d35402140f15a626f24afafb0d7fc3b2e5aa2

ATHEROS-ATL1E: Convert iounmap to pci_iounmap

Author: Peter Senna Tschudin <peter.senna@gmail.com> 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/) // @r@ expression addr; @@ addr = pci_iomap(…) @rr@ expression r.addr; @@ * iounmap(addr) // Signed-off-by: Peter Senna Tschudin Signed-off-by: David S. …

Continue reading