Make sure sparse checks endianness when run on mac80211. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- Sam, is this an OK use of makefiles or is there something else I should be doing? The only warnings this currently triggers are some signedness warnings in the PID RC algorithm. net/mac80211/Makefile | 2 ++ 1 file changed, 2 insertions(+) --- everything.orig/net/mac80211/Makefile 2008-02-19 18:35:28.151573893 +0100 +++ everything/net/mac80211/Makefile 2008-02-19 18:41:10.491563910 +0100 @@ -45,3 +45,5 @@ mac80211-$(CONFIG_MAC80211_RC_PID) += $( # Modular rate algorithms are assigned to mac80211-m - make separate modules obj-m += $(mac80211-m) + +CHECKFLAGS += -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