Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94bfa4a2 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent eecf21a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -189,7 +189,7 @@ DECLARE_EVENT_CLASS(iwlwifi_msg_event,
				       MAX_MSG_LEN, vaf->fmt,
				       MAX_MSG_LEN, vaf->fmt,
				       *vaf->va) >= MAX_MSG_LEN);
				       *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,
DEFINE_EVENT(iwlwifi_msg_event, iwlwifi_err,