diff options
author | 2022-01-02 11:23:39 +0100 | |
---|---|---|
committer | 2022-01-02 16:14:30 +0000 | |
commit | 60c332029c8da6f4ef791807fcbfbd98e71a5fbd (patch) | |
tree | f07490647db16fe04d7646a99b8228e69f5a7457 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qed: Use dma_set_mask_and_coherent() and simplify code (diff) | |
download | wireguard-linux-60c332029c8da6f4ef791807fcbfbd98e71a5fbd.tar.xz wireguard-linux-60c332029c8da6f4ef791807fcbfbd98e71a5fbd.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions