Closed trabucayre closed 2 years ago
Looks good to me. We have tested the same fix locally on Linux 6.0.
I use 6.0 too, but using exact kernel version allows user with a kernel prior to 5.18 to use pci_set_dma_mask
and users with a kernel 5.18 and greater to use dma_set_mask
.
Thanks @trabucayre! (and @sjkelly for the feedback). This is merged.
Since kernel 5.18
pci_set_dma_mask
is more available and must be recplaced bydma_set_mask
.