Re: [PATCH] kni: fix build with Linux 6.5

2023-07-12 Thread Thomas Monjalon
11/07/2023 12:09, Ferruh Yigit: > The get_user_pages_remote() API has been modified in Linux kernel v6.5 > [1], "struct vm_area_struct **vmas" parameter removed from the API. > > To fix KNI build with Linux kernel v6.5, version check added around the > get_user_pages_remote() API. > > [1] > ca5e8

[PATCH] kni: fix build with Linux 6.5

2023-07-11 Thread Ferruh Yigit
The get_user_pages_remote() API has been modified in Linux kernel v6.5 [1], "struct vm_area_struct **vmas" parameter removed from the API. To fix KNI build with Linux kernel v6.5, version check added around the get_user_pages_remote() API. [1] ca5e863233e8 ("mm/gup: remove vmas parameter from get