diff options
author | Kalle Valo <[email protected]> | 2021-02-25 09:04:21 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-02-26 09:34:20 +0200 |
commit | 62541e266703549550e77fd46138422dbdc881f1 (patch) | |
tree | 6ff67efebd0fc09ce5ce8ca0952e5279b8ec0f78 /scripts/gdb/linux/tasks.py | |
parent | 77d7e87128d4dfb400df4208b2812160e999c165 (diff) |
iwlwifi: pcie: fix iwl_so_trans_cfg link error when CONFIG_IWLMVM is disabled
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 <[email protected]>
Fixes: 930be4e76f26 ("iwlwifi: add support for SnJ with Jf devices")
Signed-off-by: Kalle Valo <[email protected]>
Acked-by: Luca Coelho <[email protected]>
Acked-by: Randy Dunlap <[email protected]> # build-tested
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions