mirror_ubuntu-kernels/drivers/net/ethernet/cisco/enic
Christophe JAILLET 60c332029c enic: Remove usage of the deprecated "pci-dma-compat.h" API
In [1], Christoph Hellwig has proposed to remove the wrappers in
include/linux/pci-dma-compat.h.

Some reasons why this API should be removed have been given by Julia
Lawall in [2].

A coccinelle script has been used to perform the needed transformation
Only relevant parts are given below.

@@
expression e1, e2;
@@
-    pci_dma_mapping_error(e1, e2)
+    dma_mapping_error(&e1->dev, e2)

[1]: https://lore.kernel.org/kernel-janitors/20200421081257.GA131897@infradead.org/
[2]: https://lore.kernel.org/kernel-janitors/alpine.DEB.2.22.394.2007120902170.2424@hadrien/

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-02 16:14:30 +00:00
..
cq_desc.h
cq_enet_desc.h
enic_api.c net: enic: Cure the enic api locking trainwreck 2020-09-29 14:02:53 -07:00
enic_api.h
enic_clsf.c
enic_clsf.h
enic_dev.c
enic_dev.h
enic_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
enic_main.c enic: Use dma_set_mask_and_coherent() 2022-01-02 12:20:12 +00:00
enic_pp.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
enic_pp.h
enic_res.c
enic_res.h
enic.h enic: Remove usage of the deprecated "pci-dma-compat.h" API 2022-01-02 16:14:30 +00:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
rq_enet_desc.h
vnic_cq.c net: cisco: enic: simplify the return vnic_cq_alloc() 2020-12-09 17:05:37 -08:00
vnic_cq.h
vnic_dev.c enic: switch from 'pci_' to 'dma_' API 2020-09-06 12:52:19 -07:00
vnic_dev.h
vnic_devcmd.h net: cisco: Replace zero-length array with flexible-array member 2020-02-26 16:43:09 -08:00
vnic_enet.h
vnic_intr.c
vnic_intr.h
vnic_nic.h
vnic_resource.h
vnic_rq.c
vnic_rq.h
vnic_rss.h
vnic_stats.h
vnic_vic.c
vnic_vic.h net: cisco: Replace zero-length array with flexible-array member 2020-02-26 16:43:09 -08:00
vnic_wq.c
vnic_wq.h
wq_enet_desc.h