]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
forcedeth: replace pci_unmap_page with dma_unmap_page
authorZhu Yanjun <yanjun.zhu@oracle.com>
Mon, 20 Nov 2017 03:21:08 +0000 (22:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Nov 2017 20:08:53 +0000 (05:08 +0900)
commitca43a0c73d1d32e2c24698b1b9044557a0b197d4
tree1d13ec95ab3fabdc8fa0c58a0063bcb99c88aee7
parent5f109b94fb5fb7ef517b0b56b7f363b51ae365cd
forcedeth: replace pci_unmap_page with dma_unmap_page

The function pci_unmap_page is obsolete. So it is replaced with
the function dma_unmap_page.

CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Joe Jin <joe.jin@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c