** Description changed:

  [SRU Justification]
  
  [Impact]
  
  linux-oem-6.17/noble is compiled against backport-iwlwifi-dkms/resolute
  to support AX211/BE211/BE213 wireless modules on Intel Wildcat Lake
  platforms. The quick fix for bug 2148273 aimed to fix only build failure
  against v7.0 kernels, but we need the backward compatibility for v6.17
  kernels as well.
  
  [Fix]
  
  The correct fix involves two upstream commits:
  * ac8ddd439761 ("Merge remote-tracking branch 'auto/master'")
  * 433a2c65dfdc ("[NOUPSTREAM] cfg80211: fix kernel versions for 
wiphy_namespace")
  
  However, these two commits deliberately set the boundary kernel version
  to v7.0.1 rather than the correct version v7.0 for Intel's owning
  product compatibility, so we need an additional patch to correct it
  back.
  
  [Test Plan]
  
  1. install 7.0 kernel (at least kernel headers) >= 7.0.0-14.14-generic
- 2. install backport-iwlwifi-dkms from -proposed pocket
- 3. dkms should be triggered automatically to build against the kernels
+ 2. install oem-6.17 kernel from Noble
+ 3. install backport-iwlwifi-dkms from -proposed pocket
+ 4. dkms should be triggered automatically to build against the kernels
  
  Generic kernels < 7.0.0-14.14 was based on v7.0-rc7 or older, so they
  don't contain the API breaking commit, and therefore no breakage.
  
  [Where problems could occur]
  
  Fix build failure only. Effectively restore the state for kernels with
  version < 7.0. No problem.
  
  [Other Info]
  
  Nominate for Resolute and Stonking as they are the only series affected.
  
  ========== original bug report ==========
  
  We're building linux-modules-iwlwifi-oem-6.17 from backport-iwlwifi-
  dkms/resolute, and bug 2148273 introduced a breakage while fixing build
  against 7.0 kernels:
  
  net/wireless/sysfs.c:176:22: error: initialization of ‘const void * (*)(const 
struct device *)’ from incompatible pointer type ‘const struct ns_common * 
(*)(const struct device *)’ [-Werror=incompatible-pointer-types]
    176 |         .namespace = wiphy_namespace,
        |                      ^~~~~~~~~~~~~~~
  net/wireless/sysfs.c:176:22: note: (near initialization for 
‘ieee80211_class.namespace’)
  cc1: some warnings being treated as errors
  make[7]: *** 
[/usr/src/linux-headers-6.17.0-1020-oem/scripts/Makefile.build:287: 
net/wireless/sysfs.o] Error 1

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

Title:
  failed to build against 6.17 kernel: error: initialization of struct
  ieee80211_class::namespace

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/2152733/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to