Commit 15ac7c478fd227257e4be94519c6f965a9e6159d

Authored by Seth Forshee
Committed by Johannes Berg
1 parent 8ffb5c001a

mac80211: Fix incorrect use of STA_PR_FMT in trace points

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>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

net/mac80211/trace.h
... ... @@ -479,7 +479,7 @@
479 479  
480 480 TP_printk(
481 481 LOCAL_PR_FMT STA_PR_FMT " set:%d",
482   - LOCAL_PR_ARG, STA_PR_FMT, __entry->set
  482 + LOCAL_PR_ARG, STA_PR_ARG, __entry->set
483 483 )
484 484 );
485 485  
... ... @@ -1684,7 +1684,7 @@
1684 1684  
1685 1685 TP_printk(
1686 1686 LOCAL_PR_FMT STA_PR_FMT " block:%d",
1687   - LOCAL_PR_ARG, STA_PR_FMT, __entry->block
  1687 + LOCAL_PR_ARG, STA_PR_ARG, __entry->block
1688 1688 )
1689 1689 );
1690 1690  
... ... @@ -1782,7 +1782,7 @@
1782 1782  
1783 1783 TP_printk(
1784 1784 LOCAL_PR_FMT STA_PR_FMT,
1785   - LOCAL_PR_ARG, STA_PR_FMT
  1785 + LOCAL_PR_ARG, STA_PR_ARG
1786 1786 )
1787 1787 );
1788 1788