Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1439236 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211/cfg80211: check endianness in sparse runs



Make sure sparse checks endianness when run on mac80211/cfg80211.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f546638c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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__
+2 −0
Original line number Diff line number Diff line
@@ -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__