Re: [[PATCH] ] linux/igb_uio: fix build with Linux 5.18

2023-02-05 Thread Thomas Monjalon
30/01/2023 08:27, jiangheng (G): > Since commit 7968778914 (PCI: Remove the deprecated "pci-dma-compat.h" API) > in 5.18, pci_set_dma_mask() and pci_set_consistent_dma_mask() no longer exist > switch those api to dma_set_mask_and_coherent. > --- > linux/igb_uio/igb_uio.c | 8 > 1 file cha

[[PATCH] ] linux/igb_uio: fix build with Linux 5.18

2023-01-29 Thread jiangheng (G)
Since commit 7968778914 (PCI: Remove the deprecated "pci-dma-compat.h" API) in 5.18, pci_set_dma_mask() and pci_set_consistent_dma_mask() no longer exist switch those api to dma_set_mask_and_coherent. --- linux/igb_uio/igb_uio.c | 8 1 file changed, 8 insertions(+) diff --git a/linux/igb