linux-next: build failure after merge of the iwlwifi-next tree
Mark Brown
maintainerHi all,
After merging the iwlwifi-next tree, today's linux-next build (x86_64 allmodconfig) failed like this:
/tmp/next/build/drivers/net/wireless/intel/iwlwifi/mld/sta.c:918:24: error: unused variable 'vif' [-Werror,-Wunused-variable]
918 | struct ieee80211_vif *vif = mld_sta->vif;
| ^~~
Caused by commit
6ed3bee0066bb (wifi: mac80211: use sta->active_links in for_each_sta_active_link())
I have used the tree from next-20261202 instead.
Quoted 7 lines · Mark Brown
/tmp/next/build/drivers/net/wireless/intel/iwlwifi/mld/sta.c:918:24: error: unused variable 'vif' [-Werror,-Wunused-variable]
918 | structieee80211_vif*vif =mld_sta->vif;
| ^~~Caused by commit
6ed3bee0066bb (wifi: mac80211: use sta->active_links in for_each_sta_active_link())
There is a fix for this on the list:
https://lore.kernel.org/all/[email protected]/
6ed3bee0066bb only stopped passing 'vif' to the iterator. The variable was still used by the iwl_mld_remove_ap_keys() call in the loop until ebcebe390b9c ("wifi: iwlwifi: mld: request per-STA GTKs for the AP") removed that, so the build breaks from ebcebe390b9c on.
Signature · 2 lines
Thanks, Sasha