aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2023-03-15 12:29:20 +0000
committerJohannes Berg <[email protected]>2023-03-15 12:30:08 +0000
commit4eca8cbf7ba83c3291b5841905ce64584036b1ff (patch)
tree37d548782edb848650fe7342116471a24cbfeefb /drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c
parentwifi: iwlwifi: fw: pnvm: fix uefi reduced TX power loading (diff)
downloadkernel-4eca8cbf7ba83c3291b5841905ce64584036b1ff.tar.gz
kernel-4eca8cbf7ba83c3291b5841905ce64584036b1ff.zip
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 <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c1
1 files changed, 1 insertions, 0 deletions
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);