** Description changed:

- 1.
+ 1. v7.2-rc1 commit 079a028d6327e ("string: Remove strncpy() from the kernel") 
breaks the build:
  ```
  drivers/net/wireless/intel/iwlwifi/iwl-drv.c: In function 
‘iwl_request_firmware’:
  drivers/net/wireless/intel/iwlwifi/iwl-drv.c:670:17: error: implicit 
declaration of function ‘strncpy’ [-Wimplicit-function-declaration]
-   670 |                 strncpy(drv->firmware_name, fw_name_temp,
-       |                 ^~~~~~~
+   670 |                 strncpy(drv->firmware_name, fw_name_temp,
+       |                 ^~~~~~~
  drivers/net/wireless/intel/iwlwifi/iwl-drv.c:33:1: note: include ‘<string.h>’ 
or provide a declaration of ‘strncpy’
-    32 | #include "iwl-tm-gnl.h"
-   +++ |+#include <string.h>
-    33 | #endif
+    32 | #include "iwl-tm-gnl.h"
+   +++ |+#include <string.h>
+    33 | #endif
  ```
+ 
+ For the fixes:
+ - v7.1-rc1 commit 3f21614c20053 ("wifi: mac80211: Replace strncpy() with 
strscpy_pad() in drv_switch_vif_chanctx tracepoint
+ ") fixed a strncpy usage in net/mac80211/trace.h.
+ - In backport-iwlwifi upstream branch release/core24.70, commit ac8ddd4397612 
("Merge remote-tracking branch 'auto/master'") fixes the build against kernels 
< v6.9
+ - the errors guarded by backpori-iwlwifi specific debug configs 
CPTCFG_IWLWIFI_SUPPORT_DEBUG_OVERRIDES and CPTCFG_IWLWIFI_DEVICE_TESTMODE to be 
fixed then.
  
  2.
  ```
  drivers/net/wireless/intel/iwlwifi/mld/ptp.c: In function 
‘iwl_mld_phc_get_crosstimestamp’:
  drivers/net/wireless/intel/iwlwifi/mld/ptp.c:273:18: error: ‘struct 
system_device_crosststamp’ has no member named ‘sys_realtime’; did you mean 
‘sys_systime’?
-   273 |         xtstamp->sys_realtime = sys_time;
-       |                  ^~~~~~~~~~~~
-       |                  sys_systime
+   273 |         xtstamp->sys_realtime = sys_time;
+       |                  ^~~~~~~~~~~~
+       |                  sys_systime
  ```

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

Title:
  Failed to build against linux-7.2

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


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

Reply via email to