ni / usb3vision

Driver for USB3 Vision(TM) class devices
GNU General Public License v2.0
63 stars 31 forks source link

Fix to build with Linux version 6.5 and later #9

Closed nivzqz closed 5 months ago

nivzqz commented 5 months ago

get_user_pages function prototype was changed in the following Linux kernel commit: remove unused vmas parameter from get_user_pages() - Commit 54d0206 https://github.com/torvalds/linux/commit/54d020692b342f7bd02d7f5795fb5c401caecfcc This commit was submitted in Linux kernel v6.5-rc1.

Modified call to get_user_pages for Linux kernel 6.5 and later