[PATCH v2] linux/igb_uio: fix build with kernel 5.18+
Thomas Monjalon
thomas at monjalon.net
Sun Feb 5 18:59:30 CET 2023
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_set_coherent_mask().
>
> dma_set_mask_and_coherent() exists since kernel 3.13.
>
> Signed-off-by: Georg Müller <georgmueller at gmx.net>
Applied, thanks.
More information about the dev
mailing list