This repository was archived by the owner on Sep 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Compile Failure with Ubuntu 24.04 #25
Copy link
Copy link
Open
Description
First off, thank you for putting this together.
Second, I noticed a compile error when it attempts to compile the kernel module for ubuntu 24.04 (6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC)
This is with the 340.108-patched-6.8 release.
the compiler error is...
/tmp/selfgz5614/kernel/nv-linux.h:2262:52: error: passing argument 6 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
2262 | pages, vmas, NULL);
| ^~~~
| |
| struct vm_area_struct **
In file included from /tmp/selfgz5614/kernel/nv-linux.h:68:
./include/linux/mm.h:2445:33: note: expected 'int *' but argument is of type 'struct vm_area_struct **'
2445 | int *locked);
| ~~~~~^~~~~~
/tmp/selfgz5614/kernel/nv-linux.h:2261:23: error: too many arguments to function 'get_user_pages_remote'
2261 | return get_user_pages_remote(mm, start, nr_pages, flags,
| ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2442:6: note: declared here
2442 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels