** Tags added: patch
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-470-server in
Ubuntu.
https://bugs.launchpad.net/bugs/2009254
Title:
nvidia-dkms-470-server FTBS with linux 6.2
Status in nvidia-graphics-drivers-470-server package in Ubuntu:
New
Status in nvidia-graphics-drivers-470-server source package in Lunar:
New
Bug description:
[Impact]
nvidia-dkms-470-server fails to build with linux 6.2:
/var/lib/dkms/nvidia-srv/470.161.03/build/nvidia/nv-acpi.c:84:19: error:
initialization of ‘void (*)(struct acpi_device *)’ from incompatible pointer
type ‘int (*)(struct acpi_device *, int)’ [-Werror=incompatible-pointer-types]
84 | .remove = nv_acpi_remove_two_args,
| ^~~~~~~~~~~~~~~~~~~~~~~
[Fix]
Change the driver to support also the 6.2 kernel ABI.
[Test case]
With linux 6.2 installed, run:
$ sudo apt install nvidia-dkms-470-server
[Regression potential]
We may experience regressions in newer kernels (>= 6.2) that are using
nvidia-dkms-470-server (source code for previous kernels remain
unchanged).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470-server/+bug/2009254/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp