mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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 <johannes.berg@intel.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
#include "iwl-trans.h"
|
#include "iwl-trans.h"
|
||||||
|
|
||||||
#define CREATE_TRACE_POINTS
|
#define CREATE_TRACE_POINTS
|
||||||
|
#pragma GCC diagnostic ignored "-Wsuggest-attribute=format"
|
||||||
#include "iwl-devtrace.h"
|
#include "iwl-devtrace.h"
|
||||||
|
|
||||||
EXPORT_TRACEPOINT_SYMBOL(iwlwifi_dev_ucode_event);
|
EXPORT_TRACEPOINT_SYMBOL(iwlwifi_dev_ucode_event);
|
||||||
|
|||||||
Reference in New Issue
Block a user