]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e85ad46708be81a4168ad70ddeb2fdd7bc4d63c
tree4717b9f118a5eadecc53414e2db3ff2a3b307f96
parent722f68208ad42d333002b4d25849c7db8081702f
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