[Bug 2076263] [NEW] Failed to build against linux-6.11
Launchpad Bug Tracker
2076263 at bugs.launchpad.net
Thu Aug 29 08:28:38 UTC 2024
You have been subscribed to a public bug by You-Sheng Yang (vicamo):
[SRU Justification]
[Impact]
Upstream commit 0edb555a65d1e ("platform: Make platform_driver::remove()
return void") fails the build against linux-6.11.
[Fix]
An upstream usbio release WW3224-USBIO-PV-HFIX1 carries the fix.
[Test Case]
Install the built dkms binary package and linux-headers-
oem-24.04b/noble. The dkms build should be triggered and complete
successfully.
[Where problems could occur]
It appears the i2c protocol meant to be governed by this usbio is not in
well control by the upstream collaborative peers, such that we fell into
various problems due the the mismatch of firmware version, and therefore
some ugly patch from Intel was added to work-around that. While we don't
have too much details about the design and the solution, all we can do
is to deploy extensive tests as possible.
[Other Info]
The SRU collects fixes for a few bugs:
* bug 2076263: meant for series with kernel >= 6.11, therefore Noble and Oracular,
* bug 2060101: meant for hwe-6.8 and on, therefore Noble and Oracular,
* bug 2071821: meant for IPU7 platforms, therefore Oracular only (which will be compiled in linux/oracular and linux-oem-6.11/noble)
========== original bug report ==========
/var/lib/dkms/usbio-drivers/0~git202312141918.78ffb706-0ubuntu2/build/drivers/gpio/gpio-usbio.c:486:19: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Wincompatible-pointer-types]
486 | .remove = usbio_gpio_remove,
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/usbio-drivers/0~git202312141918.78ffb706-0ubuntu2/build/drivers/i2c/busses/i2c-usbio.c:415:19: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Wincompatible-pointer-types]
415 | .remove = usbio_i2c_remove,
| ^~~~~~~~~~~~~~~~
** Affects: usbio-drivers (Ubuntu)
Importance: High
Assignee: You-Sheng Yang (vicamo)
Status: In Progress
** Affects: usbio-drivers (Ubuntu Noble)
Importance: Critical
Assignee: You-Sheng Yang (vicamo)
Status: In Progress
** Affects: usbio-drivers (Ubuntu Oracular)
Importance: High
Assignee: You-Sheng Yang (vicamo)
Status: In Progress
--
Failed to build against linux-6.11
https://bugs.launchpad.net/bugs/2076263
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list