NVidia 367.57 Compile Errors against 4.10.0-rc1+

I’m trying to install 367.57 on an experimental kernel and getting some warnings that are “treated as errors” during LD…

Forgive the shorthand…

LD … /kernel/nvidia-modeset/nvidia-modeset-interface.o … /kernel/nvidia-drm/nvidia-drm-linux.c:140:67: warning: passing argument 4 of “get_user_pages” makes pointer from integer without a cast … NV_GET_USER_PAGES(address, pages_count, write, force, …

with “force” being the error.

I don’t think this will effect what I’m trying to do - aside from the fact that the installer then says…

“cc1: some warnings being treated as errors”

Which then causes the linker to fail and the entire build to fail.

Is there an option to ignore the warnings without digging into my entire build setup? Should I just extract the source and write a patch?

Why should a driver, released way before the release of kernel 4.10 build against that kernel?
If you would use the search-function in this forum, you would be informed, that even the recent drivers do not build against 4.10.

In your post history you referenced a “crude patch” - where is that?

EDIT: The search sucks. I searched 4.10 and came up with 0 results.

For anyone who finds this thread… I searched “kernel” and sorted by recent posts and found this thread…

https://devtalk.nvidia.com/default/topic/995636/?comment=5101210