Whamcloud - gitweb
LU-12270 o2iblnd: pci_unmap_addr() removed in 4.19 27/34827/2
authorLi Dongyang <dongyangli@ddn.com>
Wed, 8 May 2019 11:53:21 +0000 (21:53 +1000)
committerOleg Drokin <green@whamcloud.com>
Sat, 25 May 2019 05:03:01 +0000 (05:03 +0000)
commit0cae491cc6d3cc949972366a3fdfdf32dfea5912
tree06111a6cb296f91e6da930ed20cd273b17f9d45c
parent25b0bf5a23032394055b7b94b3169f5cf4068570
LU-12270 o2iblnd: pci_unmap_addr() removed in 4.19

Since kernel 4.19 the pci_unmap_addr() wrappers have
been removed, along with linux/pci-dma.h
We can use the good old DEFINE_DMA_UNMAP_ADDR instead
of DECLARE_PCI_UNMAP_ADDR.

Linux-commit: 18b01b16e8bae9cd227909f6e6d2783d74855f65

Test-Parameters:trivial
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: I387bd3d1c4e8c3bc75400ce1be05132fb25f8a50
Reviewed-on: https://review.whamcloud.com/34827
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.h