diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-12-09 06:39:52 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 14:01:35 -0500 |
commit | b143923689fdcc8e56688f2506a11ff16e4cd20b (patch) | |
tree | 2da5f54ac56f899b49e49103b76006e0940c061e /net | |
parent | f546638c3f809fdacddc03fe765669c3042e0d9d (diff) |
mac80211/cfg80211: check endianness in sparse runs
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/Makefile | 2 | ||||
-rw-r--r-- | net/wireless/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/Makefile b/net/mac80211/Makefile index 31cfd1f89a72..7d4971aa443f 100644 --- a/net/mac80211/Makefile +++ b/net/mac80211/Makefile | |||
@@ -46,3 +46,5 @@ rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o | |||
46 | 46 | ||
47 | mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y) | 47 | mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y) |
48 | mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y) | 48 | mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y) |
49 | |||
50 | ccflags-y += -D__CHECK_ENDIAN__ | ||
diff --git a/net/wireless/Makefile b/net/wireless/Makefile index 9bc412c83430..938a334c8dbc 100644 --- a/net/wireless/Makefile +++ b/net/wireless/Makefile | |||
@@ -8,3 +8,5 @@ obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o | |||
8 | cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o | 8 | cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o |
9 | cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o | 9 | cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o |
10 | cfg80211-$(CONFIG_NL80211) += nl80211.o | 10 | cfg80211-$(CONFIG_NL80211) += nl80211.o |
11 | |||
12 | ccflags-y += -D__CHECK_ENDIAN__ | ||