diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-06-22 19:39:23 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-25 09:38:34 +0200 |
commit | 94bfa4a255b3436e9a258585be6687d1f5c02a71 (patch) | |
tree | 9f03704be7f1ab1247ae1c02b9a829aaef2ef1bb /drivers/net/wireless/iwlwifi | |
parent | eecf21a126dd23030c66949796561a9b0dde8b6e (diff) | |
download | op-kernel-dev-94bfa4a255b3436e9a258585be6687d1f5c02a71.zip op-kernel-dev-94bfa4a255b3436e9a258585be6687d1f5c02a71.tar.gz |
iwlwifi: use __get_str in tracing
__get_str() is identical to (char *)__get_dynamic_array()
that is in the code now, substitute __get_str to make the
code more readable.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-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 ad2dba8..06ca505 100644 --- a/drivers/net/wireless/iwlwifi/iwl-devtrace.h +++ b/drivers/net/wireless/iwlwifi/iwl-devtrace.h @@ -189,7 +189,7 @@ DECLARE_EVENT_CLASS(iwlwifi_msg_event, MAX_MSG_LEN, vaf->fmt, *vaf->va) >= MAX_MSG_LEN); ), - TP_printk("%s", (char *)__get_dynamic_array(msg)) + TP_printk("%s", __get_str(msg)) ); DEFINE_EVENT(iwlwifi_msg_event, iwlwifi_err, |