[Bug 2076262] [NEW] Failed to build against linux-6.11
Launchpad Bug Tracker
2076262 at bugs.launchpad.net
Thu Aug 29 08:29:06 UTC 2024
You have been subscribed to a public bug by You-Sheng Yang (vicamo):
[SRU Justification]
[Impact]
Upstream commit d69d804845985 ("driver core: have match() callback in
struct bus_type take a const *") added const attribute the the second
parameter of the match callback, and this fails the build against
linux-6.11.
[Fix]
Ubuntu sauced change to accommodate to the API change. Also proposed to
the upstream as https://github.com/intel/ipu6-drivers/pull/261.
[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]
For Oracular, there is a new upstream release mostly for a next Intel
platform, but there are also code refinements as well. No specious side
effect found.
For Noble, there is only preprocessor macros to satisfy the API
compatibility.
[Other Info]
ipu6-drivers/oracular is used in linux/oracular and linux-
oem-6.11/noble, and ipu6-drivers/noble is used in linux/noble, linux-
oem-6.8/noble and linux-hwe-6.8/jammy. The Noble SRU is only to satisfy
compiling ipu6-drivers/noble against linux-oem-6.11/noble, but that's
not how linux-modules-ipu6-oem-24.04b is built.
========== original bug report ==========
/var/lib/dkms/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu2/build/drivers/media/pci/intel/ipu6/../ipu-bus.c:145:18: error: initialization of 'int (*)(struct device
*, const struct device_driver *)' from incompatible pointer type 'int (*)(struct device *, struct device_driver *)' [-Wincompatible-pointer-types]
145 | .match = ipu_bus_match,
| ^~~~~~~~~~~~~
** Affects: ipu6-drivers (Ubuntu)
Importance: High
Assignee: You-Sheng Yang (vicamo)
Status: In Progress
** Affects: ipu6-drivers (Ubuntu Noble)
Importance: Medium
Assignee: You-Sheng Yang (vicamo)
Status: In Progress
** Affects: ipu6-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/2076262
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