]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mac80211/cfg80211: check endianness in sparse runs
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 9 Dec 2008 11:39:52 +0000 (12:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 19:01:35 +0000 (14:01 -0500)
Make sure sparse checks endianness when run on mac80211/cfg80211.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/Makefile
net/wireless/Makefile

index 31cfd1f89a72457a4f3c241a8a5500aefbce21bb..7d4971aa443f177a692bd909a9dbef8c50e682d5 100644 (file)
@@ -46,3 +46,5 @@ rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
 
 mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y)
 mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
+
+ccflags-y += -D__CHECK_ENDIAN__
index 9bc412c8343092094ef5399a1cea6009f7625f38..938a334c8dbc3ba6fe72afbd1b320f41bdd7c73f 100644 (file)
@@ -8,3 +8,5 @@ obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o
 cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o
 cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o
 cfg80211-$(CONFIG_NL80211) += nl80211.o
+
+ccflags-y += -D__CHECK_ENDIAN__