net/mlx4: replace pci_{,un}map_sg with dma_{,un}map_sg
authorStephen Warren <swarren@nvidia.com>
Thu, 3 Jan 2019 17:23:24 +0000 (10:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jan 2019 13:14:17 +0000 (05:14 -0800)
commit01cd364a15f42575ef4aac8f82ff05516ea5da9a
tree4717b9f118a5eadecc53414e2db3ff2a3b307f96
parentf65e192af35058e5c82da9e90871b472d24912bc
net/mlx4: replace pci_{,un}map_sg with dma_{,un}map_sg

pci_{,un}map_sg are deprecated and replaced by dma_{,un}map_sg. This is
especially relevant since the rest of the driver uses the DMA API. Fix
the driver to use the replacement APIs.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/icm.c