diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-07-19 17:21:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:27 -0400 |
commit | f742880c9ca733b6c18bfaa0f5ad2a57f37180c2 (patch) | |
tree | 17f915937575f95ec22153571c6544c307145504 /net/mac80211/driver-trace.h | |
parent | a99d02483a40b9410d8a7af3b653ebc3f106280f (diff) |
mac80211: fix spare warnings in driver-trace.h
This patch fixes the following errors:
driver-trace.h:148:1: error: cannot size expression
driver-trace.h:148:1: error: cannot size expression
[...]
driver-trace.h:222:1: error: cannot size expression
driver-trace.h:71:1: error: incompatible types for operation (<)
driver-trace.h:71:1: left side has type void *<noident>
driver-trace.h:71:1: right side has type int
driver-trace.h:99:1: error: incompatible types for operation (<)
driver-trace.h:99:1: left side has type void *<noident>
driver-trace.h:99:1: right side has type int
driver-trace.h:148:1: error: incompatible types for operation (<)
driver-trace.h:148:1: left side has type void *<noident>
driver-trace.h:148:1: right side has type int
driver-trace.h:222:1: error: cannot size expression
driver-trace.h:248:1: error: incompatible types for operation (<)
driver-trace.h:248:1: left side has type void *<noident>
driver-trace.h:248:1: right side has type int
driver-trace.h:446:1: error: incompatible types for operation (<)
driver-trace.h:446:1: left side has type void *<noident>
driver-trace.h:446:1: right side has type int
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/driver-trace.h')
-rw-r--r-- | net/mac80211/driver-trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h index 48c93d13e7b..5a10da2d70f 100644 --- a/net/mac80211/driver-trace.h +++ b/net/mac80211/driver-trace.h | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <net/mac80211.h> | 5 | #include <net/mac80211.h> |
6 | #include "ieee80211_i.h" | 6 | #include "ieee80211_i.h" |
7 | 7 | ||
8 | #ifndef CONFIG_MAC80211_DRIVER_API_TRACER | 8 | #if !defined(CONFIG_MAC80211_DRIVER_API_TRACER) || defined(__CHECKER__) |
9 | #undef TRACE_EVENT | 9 | #undef TRACE_EVENT |
10 | #define TRACE_EVENT(name, proto, ...) \ | 10 | #define TRACE_EVENT(name, proto, ...) \ |
11 | static inline void trace_ ## name(proto) {} | 11 | static inline void trace_ ## name(proto) {} |
@@ -639,7 +639,7 @@ TRACE_EVENT(drv_ampdu_action, | |||
639 | LOCAL_PR_ARG, STA_PR_ARG, __entry->action, __entry->tid, __entry->ret | 639 | LOCAL_PR_ARG, STA_PR_ARG, __entry->action, __entry->tid, __entry->ret |
640 | ) | 640 | ) |
641 | ); | 641 | ); |
642 | #endif /* __MAC80211_DRIVER_TRACE */ | 642 | #endif /* !__MAC80211_DRIVER_TRACE || TRACE_HEADER_MULTI_READ */ |
643 | 643 | ||
644 | #undef TRACE_INCLUDE_PATH | 644 | #undef TRACE_INCLUDE_PATH |
645 | #define TRACE_INCLUDE_PATH . | 645 | #define TRACE_INCLUDE_PATH . |