From: Johannes Berg Date: Wed, 15 Mar 2023 12:29:20 +0000 (+0100) Subject: wifi: iwlwifi: suppress printf warnings in tracing X-Git-Tag: v6.4-rc1~77^2~182^2~111 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4eca8cbf7ba83c3291b5841905ce64584036b1ff;p=tomoyo%2Ftomoyo-test1.git wifi: iwlwifi: suppress printf warnings in tracing This can't really be fixed due to the macro layout of tracepoints (you'd need a special tracepoint macro for when this is needed), so just suppress the warnings. Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c b/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c index 999b7c652289..c190ec5effa1 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c @@ -12,6 +12,7 @@ #include "iwl-trans.h" #define CREATE_TRACE_POINTS +#pragma GCC diagnostic ignored "-Wsuggest-attribute=format" #include "iwl-devtrace.h" EXPORT_TRACEPOINT_SYMBOL(iwlwifi_dev_ucode_event);