* [PATCH] mac80211: Fix incorrect use of STA_PR_FMT in trace points
@ 2013-02-15 19:15 Seth Forshee
2013-02-15 19:24 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Seth Forshee @ 2013-02-15 19:15 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, Seth Forshee
Several tracepoints are using STA_PR_FMT where STA_PR_ARG should be
used, resulting in messages like "phy0 sta:ARG TYPE NOT FIELD BUT 1".
Change these to STA_PR_ARG.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
net/mac80211/trace.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index 0bdd7ae..d873421 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -479,7 +479,7 @@ TRACE_EVENT(drv_set_tim,
TP_printk(
LOCAL_PR_FMT STA_PR_FMT " set:%d",
- LOCAL_PR_ARG, STA_PR_FMT, __entry->set
+ LOCAL_PR_ARG, STA_PR_ARG, __entry->set
)
);
@@ -1684,7 +1684,7 @@ TRACE_EVENT(api_sta_block_awake,
TP_printk(
LOCAL_PR_FMT STA_PR_FMT " block:%d",
- LOCAL_PR_ARG, STA_PR_FMT, __entry->block
+ LOCAL_PR_ARG, STA_PR_ARG, __entry->block
)
);
@@ -1782,7 +1782,7 @@ TRACE_EVENT(api_eosp,
TP_printk(
LOCAL_PR_FMT STA_PR_FMT,
- LOCAL_PR_ARG, STA_PR_FMT
+ LOCAL_PR_ARG, STA_PR_ARG
)
);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mac80211: Fix incorrect use of STA_PR_FMT in trace points
2013-02-15 19:15 [PATCH] mac80211: Fix incorrect use of STA_PR_FMT in trace points Seth Forshee
@ 2013-02-15 19:24 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2013-02-15 19:24 UTC (permalink / raw)
To: Seth Forshee; +Cc: linux-wireless
On Fri, 2013-02-15 at 13:15 -0600, Seth Forshee wrote:
> Several tracepoints are using STA_PR_FMT where STA_PR_ARG should be
> used, resulting in messages like "phy0 sta:ARG TYPE NOT FIELD BUT 1".
> Change these to STA_PR_ARG.
Heh, I'd seen them but never found the cause ... thanks, applied!
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-15 19:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 19:15 [PATCH] mac80211: Fix incorrect use of STA_PR_FMT in trace points Seth Forshee
2013-02-15 19:24 ` Johannes Berg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.