Public bug reported: [Impact]
nvidia-dkms-450-server fails to build with linux 6.2, reporting the following error: /var/lib/dkms/nvidia-srv/450.216.04/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-450-server [Regression potential] We may experience regressions in newer kernels (>= 6.2) that are using nvidia-dkms-450-server (source code for previous kernels remain unchanged). ** Affects: nvidia-graphics-drivers-450-server (Ubuntu) Importance: Undecided Status: New ** Affects: nvidia-graphics-drivers-450-server (Ubuntu Lunar) Importance: Undecided Status: New ** Also affects: nvidia-graphics-drivers-450-server (Ubuntu) Importance: Undecided Status: New ** No longer affects: nvidia-graphics-drivers-515 (Ubuntu) ** Also affects: nvidia-graphics-drivers-450-server (Ubuntu Lunar) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-515 in Ubuntu. https://bugs.launchpad.net/bugs/2009253 Title: nvidia-dkms-450-server FTBS with linux 6.2 Status in nvidia-graphics-drivers-450-server package in Ubuntu: New Status in nvidia-graphics-drivers-450-server source package in Lunar: New Bug description: [Impact] nvidia-dkms-450-server fails to build with linux 6.2, reporting the following error: /var/lib/dkms/nvidia-srv/450.216.04/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-450-server [Regression potential] We may experience regressions in newer kernels (>= 6.2) that are using nvidia-dkms-450-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-450-server/+bug/2009253/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp