Re: [PATCH v2] linux/igb_uio: fix build with kernel 5.18+

2023-02-05 Thread Thomas Monjalon
06/10/2022 20:51, Georg Müller: > pci_set_dma_mask() and pci_set_consistent_dma_mask() were removed with > kernel 5.18. They both were just wrappers for dma_set_mask() and > dma_set_coherent_mask(). > > Instead, use dma_set_mask_and_coherent(), which is a combination of > dma_set_mask() and dma_se

[PATCH v2] linux/igb_uio: fix build with kernel 5.18+

2022-10-09 Thread Georg Müller
pci_set_dma_mask() and pci_set_consistent_dma_mask() were removed with kernel 5.18. They both were just wrappers for dma_set_mask() and dma_set_coherent_mask(). Instead, use dma_set_mask_and_coherent(), which is a combination of dma_set_mask() and dma_set_coherent_mask(). dma_set_mask_and_coheren