]> 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)
commitcb8c86894a523474adb69b19c63b64f2c2e42aba
tree4717b9f118a5eadecc53414e2db3ff2a3b307f96
parent099ba117dfa2f6020aa70a5e2144ef3a0ea1d67e
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