** Also affects: bbswitch (Ubuntu Kinetic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to bbswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1981716
Title:
bbswitch fails to build on 5.19 kernel (kinetic)
Status in bbswitch package in Ubuntu:
New
Status in bbswitch source package in Kinetic:
New
Bug description:
[Impact]
bbswitch fails to build with the latest 5.19 kernel, the error is the
following:
/var/lib/dkms/bbswitch/0.8/build/bbswitch.c:273:13: error: implicit
declaration of function ‘acpi_bus_get_device’; did you mean
‘acpi_is_pnp_device’? [-Werror=implicit-function-declaration]
273 | r = acpi_bus_get_device(dis_handle, &ad);
| ^~~~~~~~~~~~~~~~~~~
| acpi_is_pnp_device
cc1: some warnings being treated as errors
[Test case]
$ sudo apt install bbswitch-dkms
[Fix]
Replace acpi_bus_get_device() with the equivalent interface -
acpi_fetch_acpi_dev() - in 5.19 kernels.
[Regression potential]
We may see bbswitch regressions in kernels >= 5.19 (fix isn't
affecting older kernels).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bbswitch/+bug/1981716/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp