diff options
author | Johannes Berg | 2013-02-20 16:29:37 +0100 |
---|---|---|
committer | Johannes Berg | 2013-03-06 16:47:27 +0100 |
commit | 9047e4ad435711e67f57b73b76b1235405118c0e (patch) | |
tree | 85310a481b6dd43130d6bfb7adc5f73eccaa9e70 /drivers/net/wireless/iwlwifi/iwl-devtrace.h | |
parent | f7546c76f756f7fbd8d7ec6f26f32cefe7778f9e (diff) |
iwlwifi: use __get_str in tracing
Instead of using (char *)__get_dynamic_array use
__get_str. The latter is actually a macro that
expands to the former in the code, but trace-cmd
in userspace can parse __get_str only.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-devtrace.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-devtrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-devtrace.h b/drivers/net/wireless/iwlwifi/iwl-devtrace.h index 81aa91fab5aa..4491c1c72cc7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-devtrace.h +++ b/drivers/net/wireless/iwlwifi/iwl-devtrace.h @@ -298,7 +298,7 @@ TRACE_EVENT(iwlwifi_dbg, MAX_MSG_LEN, vaf->fmt, *vaf->va) >= MAX_MSG_LEN); ), - TP_printk("%s", (char *)__get_dynamic_array(msg)) + TP_printk("%s", __get_str(msg)) ); #undef TRACE_SYSTEM |