Make sure sparse checks endianness when run on mac80211/cfg80211. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> --- It doesn't hurt setting this for the compiler as well. net/mac80211/Makefile | 2 ++ net/wireless/Makefile | 2 ++ 2 files changed, 4 insertions(+) --- everything.orig/net/mac80211/Makefile 2008-12-08 21:53:02.000000000 +0100 +++ everything/net/mac80211/Makefile 2008-12-08 21:54:02.000000000 +0100 @@ -46,3 +46,5 @@ rc80211_minstrel-$(CONFIG_MAC80211_DEBUG mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y) mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y) + +ccflags-y += -D__CHECK_ENDIAN__ --- everything.orig/net/wireless/Makefile 2008-12-08 21:53:02.000000000 +0100 +++ everything/net/wireless/Makefile 2008-12-08 21:54:02.000000000 +0100 @@ -8,3 +8,5 @@ obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib 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__ -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html