Skip to contentSkip to conversation

linux-next: build failure after merge of the iwlwifi-next tree

DISCUSSION Mark Brown 2 participants 2 messages Dec 3 – Dec 4 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi 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.

#1 lore raw
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 | struct ieee80211_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