This patch series adds support for kernel > 5.1.0, where udmabuf_device_vma_fault return value has changed.
Also, to ease understanding of the different code branches regarding kernel version, I've replaced the use of hardcoded hexadecimal numbers with the use of KERNEL_VERSION macro. I think it's more clear this way and I believe it's the recommended way of comparing kernel versions.
Hi,
This patch series adds support for kernel > 5.1.0, where udmabuf_device_vma_fault return value has changed. Also, to ease understanding of the different code branches regarding kernel version, I've replaced the use of hardcoded hexadecimal numbers with the use of KERNEL_VERSION macro. I think it's more clear this way and I believe it's the recommended way of comparing kernel versions.
Thanks!