iwmc3200wifi: check sparse endianness annotations
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 16 Apr 2010 01:28:44 +0000 (09:28 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Apr 2010 19:47:02 +0000 (15:47 -0400)
Add -D__CHECK_ENDIAN__ to driver ccflags so that sparse will
always check endianness by default.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/Makefile

index aeed5cd808195303acfd361fd84a730fe0051a21..cdc7e07ba113b02b60bb383fcd3bccecbfa9560d 100644 (file)
@@ -6,3 +6,5 @@ iwmc3200wifi-$(CONFIG_IWM_DEBUG) += debugfs.o
 iwmc3200wifi-$(CONFIG_IWM_TRACING) += trace.o
 
 CFLAGS_trace.o := -I$(src)
+
+ccflags-y += -D__CHECK_ENDIAN__