Need sponsor, but subscribing ubuntu-sponsors launchpad UI operation
fails at this moment.
** Description changed:
-
/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
+ [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,
- | ^~~~~~~~~~~~~
+ 145 | .match = ipu_bus_match,
+ | ^~~~~~~~~~~~~
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076262
Title:
Failed to build against linux-6.11
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2076262/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs