Messages in this thread | | | From | Kalle Valo <> | Subject | Re: [PATCH] iwlwifi: mei: fix building iwlmei | Date | Wed, 16 Mar 2022 20:53:19 +0200 |
| |
Arnd Bergmann <arnd@kernel.org> writes:
> From: Arnd Bergmann <arnd@arndb.de> > > Building iwlmei without CONFIG_CFG80211 causes a link-time warning: > > ld.lld: error: undefined symbol: ieee80211_hdrlen >>>> referenced by net.c >>>> net/wireless/intel/iwlwifi/mei/net.o:(iwl_mei_tx_copy_to_csme) >>>> in archive drivers/built-in.a > > Add an explicit dependency to avoid this. In theory it should not > be needed here, but it also seems pointless to allow IWLMEI > for configurations without CFG80211. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > drivers/net/wireless/intel/iwlwifi/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > I see this warning on 5.17-rc8, but did not test it on linux-next, > which may already have a fix.
I just sent the last pull request to v5.17. Luca, should I take this to wireless-next? Ack?
-- https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |