Comment 6 for bug 1946642

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

That also does not work, due to:

/var/lib/dkms/nvidia/390.144/build/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro ‘do_div’
   72 | do_div(result, 1000000);

./include/asm-generic/div64.h:245:36: error: passing argument 1 of ‘__div64_32’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  245 | __rem = __div64_32(&(n), __base); \
      | ^~~~
      | |
      | long unsigned int *
/var/lib/dkms/nvidia/390.144/build/nvidia-modeset/nvidia-modeset-linux.c:72:5: note: in expansion of macro ‘do_div’
   72 | do_div(re

I am starting to doubt that 32bit drivers have been working for a long time now.