aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2023-03-15 20:28:29 -0700
committerJohannes Berg <[email protected]>2023-03-16 08:51:56 +0100
commit499183cc3b52613f06cf4ce70809546971c96ed8 (patch)
treebd30f2845824d636365ca2c97cfd354e8458fed2 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parent4eca8cbf7ba83c3291b5841905ce64584036b1ff (diff)
wifi: iwlwifi: Avoid disabling GCC specific flag with clang
Clang errors: drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:15:32: error: unknown warning group '-Wsuggest-attribute=format', ignored [-Werror,-Wunknown-warning-option] #pragma GCC diagnostic ignored "-Wsuggest-attribute=format" ^ 1 error generated. The warning being disabled by this pragma is GCC specific. Guard its use with CONFIG_CC_IS_GCC so that it is not used with clang to clear up the error. Fixes: 4eca8cbf7ba8 ("wifi: iwlwifi: suppress printf warnings in tracing") Link: https://github.com/ClangBuiltLinux/linux/issues/1818 Signed-off-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions