Thread (5 messages) 5 messages, 3 authors, 2021-02-26

Re: [PATCH 5.12] iwlwifi: pcie: fix iwl_so_trans_cfg link error when CONFIG_IWLMVM is disabled

From: Luca Coelho <hidden>
Date: 2021-02-25 07:13:43

On Thu, 2021-02-25 at 09:04 +0200, Kalle Valo wrote:
Randy reported an error on his randconfig builds:

ERROR: modpost: "iwl_so_trans_cfg" [drivers/net/wireless/intel/iwlwifi/iwlwifi.ko] undefined!

The problem was that when CONFIG_IWLMVM was disabled we were still accessing
iwl_so_trans_cfg. Fix it by moving IS_ENABLED() check before the access.

Reported-by: Randy Dunlap <redacted>
Signed-off-by: Kalle Valo <redacted>
---
Thanks for the fix, Kalle! Please take it directly to wireless-drivers.

Acked-by: Luca Coelho <redacted>

--
Cheers,
Luca.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help