diff options
-rw-r--r-- | tools/lib/traceevent/plugin_cfg80211.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/lib/traceevent/plugin_cfg80211.c b/tools/lib/traceevent/plugin_cfg80211.c index c066b25905f8..4592d8438318 100644 --- a/tools/lib/traceevent/plugin_cfg80211.c +++ b/tools/lib/traceevent/plugin_cfg80211.c | |||
@@ -5,8 +5,7 @@ | |||
5 | #include "event-parse.h" | 5 | #include "event-parse.h" |
6 | 6 | ||
7 | static unsigned long long | 7 | static unsigned long long |
8 | process___le16_to_cpup(struct trace_seq *s, | 8 | process___le16_to_cpup(struct trace_seq *s, unsigned long long *args) |
9 | unsigned long long *args) | ||
10 | { | 9 | { |
11 | uint16_t *val = (uint16_t *) (unsigned long) args[0]; | 10 | uint16_t *val = (uint16_t *) (unsigned long) args[0]; |
12 | return val ? (long long) le16toh(*val) : 0; | 11 | return val ? (long long) le16toh(*val) : 0; |