commit | 01cd364a15f42575ef4aac8f82ff05516ea5da9a | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Thu Jan 03 10:23:24 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 07 05:14:17 2019 -0800 |
tree | 4717b9f118a5eadecc53414e2db3ff2a3b307f96 | |
parent | f65e192af35058e5c82da9e90871b472d24912bc [diff] |
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>