summaryrefslogtreecommitdiffstats
path: root/net/mac80211/trace.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-01 22:04:40 -0400
committerDavid S. Miller <davem@davemloft.net>2013-10-02 17:04:45 -0400
commitd458cdf712e0c671e8e819abb16ecd6e44f9daec (patch)
treeff93ce90fee219f2690a4f51f985815422664b7a /net/mac80211/trace.h
parent0b3d8e087bbee2a4e3f479d538a7edd3f1d2950c (diff)
net:drivers/net: Miscellaneous conversions to ETH_ALEN
Convert the memset/memcpy uses of 6 to ETH_ALEN where appropriate. Also convert some struct definitions and u8 array declarations of [6] to ETH_ALEN. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r--net/mac80211/trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index 1aba645882bd..3fb9dd6d02fc 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -77,13 +77,13 @@ DECLARE_EVENT_CLASS(local_sdata_addr_evt,
77 TP_STRUCT__entry( 77 TP_STRUCT__entry(
78 LOCAL_ENTRY 78 LOCAL_ENTRY
79 VIF_ENTRY 79 VIF_ENTRY
80 __array(char, addr, 6) 80 __array(char, addr, ETH_ALEN)
81 ), 81 ),
82 82
83 TP_fast_assign( 83 TP_fast_assign(
84 LOCAL_ASSIGN; 84 LOCAL_ASSIGN;
85 VIF_ASSIGN; 85 VIF_ASSIGN;
86 memcpy(__entry->addr, sdata->vif.addr, 6); 86 memcpy(__entry->addr, sdata->vif.addr, ETH_ALEN);
87 ), 87 ),
88 88
89 TP_printk( 89 TP_printk(