[Bug 2076262] Re: Failed to build against linux-6.11

Launchpad Bug Tracker 2076262 at bugs.launchpad.net
Thu Aug 29 10:58:36 UTC 2024


This bug was fixed in the package ipu6-drivers -
0~git202407190257.9369b88e-0ubuntu1

---------------
ipu6-drivers (0~git202407190257.9369b88e-0ubuntu1) oracular; urgency=medium

  [ You-Sheng Yang ]
  * ARL platform Beta release on 2024-07-18
    - debian: refresh patches
  * UBUNTU: SAUCE: media: ipu6: Fix compilation with kernels >= 6.11
    (LP: #2076262)
  * debian: drop --with dkms from rules

 -- You-Sheng Yang <vicamo at gmail.com>  Thu, 08 Aug 2024 11:36:32 +0800

** Changed in: ipu6-drivers (Ubuntu Oracular)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2076262

Title:
  Failed to build against linux-6.11

Status in ipu6-drivers package in Ubuntu:
  Fix Released
Status in ipu6-drivers source package in Noble:
  In Progress
Status in ipu6-drivers source package in Oracular:
  Fix Released

Bug description:
  [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,
        |                  ^~~~~~~~~~~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2076262/+subscriptions




More information about the Ubuntu-sponsors mailing list