diff options
author | Stephen Warren <swarren@nvidia.com> | 2019-01-03 18:23:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-07 14:14:17 +0100 |
commit | 01cd364a15f42575ef4aac8f82ff05516ea5da9a (patch) | |
tree | 4717b9f118a5eadecc53414e2db3ff2a3b307f96 /net/can | |
parent | net/mlx4: Get rid of page operation after dma_alloc_coherent (diff) | |
download | linux-01cd364a15f42575ef4aac8f82ff05516ea5da9a.tar.xz linux-01cd364a15f42575ef4aac8f82ff05516ea5da9a.zip |
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>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions