** Also affects: nvidia-graphics-drivers-450-server (Ubuntu Jammy)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-450-server 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:
  Fix Released
Status in nvidia-graphics-drivers-450-server source package in Jammy:
  New
Status in nvidia-graphics-drivers-450-server source package in Lunar:
  Fix Released

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

Reply via email to