linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211: check endianness/types in sparse runs
@ 2008-02-20 10:38 Johannes Berg
  2008-02-20 19:59 ` Sam Ravnborg
  0 siblings, 1 reply; 14+ messages in thread
From: Johannes Berg @ 2008-02-20 10:38 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Stefano Brivio, Sam Ravnborg

Make sure sparse checks endianness when run on mac80211.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
Sam, is this an OK use of makefiles or is there something else I should
be doing?

The only warnings this currently triggers are some signedness warnings
in the PID RC algorithm.

 net/mac80211/Makefile |    2 ++
 1 file changed, 2 insertions(+)

--- everything.orig/net/mac80211/Makefile	2008-02-19 18:35:28.151573893 +0100
+++ everything/net/mac80211/Makefile	2008-02-19 18:41:10.491563910 +0100
@@ -45,3 +45,5 @@ mac80211-$(CONFIG_MAC80211_RC_PID) += $(
 
 # Modular rate algorithms are assigned to mac80211-m - make separate modules
 obj-m += $(mac80211-m)
+
+CHECKFLAGS += -D__CHECK_ENDIAN__



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-02-22 14:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 10:38 [PATCH] mac80211: check endianness/types in sparse runs Johannes Berg
2008-02-20 19:59 ` Sam Ravnborg
2008-02-20 20:07   ` Pavel Roskin
2008-02-21 12:42   ` Johannes Berg
2008-02-21 20:01     ` Harvey Harrison
2008-02-21 22:32       ` __bitwise versus __bitwise__ [Was: [PATCH] mac80211: check endianness/types in sparse runs] Sam Ravnborg
2008-02-21 22:38         ` Al Viro
2008-02-21 20:06     ` [PATCH] mac80211: check endianness/types in sparse runs Sam Ravnborg
2008-02-21 20:09       ` Johannes Berg
2008-02-21 20:25         ` Harvey Harrison
2008-02-21 20:29           ` Johannes Berg
2008-02-21 20:33             ` Harvey Harrison
2008-02-21 21:16     ` Al Viro
2008-02-22 14:02       ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).