Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Johannes Berg and committed by
John W. Linville
b1439236 f546638c

+4
+2
net/mac80211/Makefile
··· 46 46 47 47 mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y) 48 48 mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y) 49 + 50 + ccflags-y += -D__CHECK_ENDIAN__
+2
net/wireless/Makefile
··· 8 8 cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o 9 9 cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o 10 10 cfg80211-$(CONFIG_NL80211) += nl80211.o 11 + 12 + ccflags-y += -D__CHECK_ENDIAN__