wifi: iwlwifi: mvm: fix warnings from dmi_get_system_info()
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Feb 2024 09:56:27 +0000 (10:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 4 Feb 2024 09:58:54 +0000 (10:58 +0100)
commit6256760f37baa2e4bf34dcbef69d7450460df9bd
tree81b594ae6baab7d35fdf5461543bde03d707c093
parent4c60c8054dd8a36091aab585569c8d12a0085bd9
wifi: iwlwifi: mvm: fix warnings from dmi_get_system_info()

dmi_get_system_info() will statically return NULL when the
kernel is compiled without CONFIG_DMI, leading to compiler
warnings. Fix that by printing "<unknown>" in that case.

Fixes: c3f40c3e0273 ("iwlwifi: mvm: add US/CA to TAS block list if OEM isn't allowed")
Fixes: 9457077df49e ("wifi: iwlwifi: mvm: Add debugfs to get TAS status")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
drivers/net/wireless/intel/iwlwifi/mvm/fw.c