]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wil6210: drop -Werror compiler flag
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Mon, 22 Jul 2013 09:53:48 +0000 (12:53 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:54:46 +0000 (16:54 -0400)
In production code, don't use -Werror,
as it causes random compilation failures due to compiler version and options used.

With every new version of gcc, it becomes stricter and report more warnings.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/Makefile

index f891d514d88175ba055588f85a9adf7507195c4e..990dd42ae79ed312652a336f46fc1ab4c9ad7ad8 100644 (file)
@@ -11,9 +11,6 @@ wil6210-y += txrx.o
 wil6210-y += debug.o
 wil6210-$(CONFIG_WIL6210_TRACING) += trace.o
 
-ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
-       subdir-ccflags-y += -Werror
-endif
 # for tracing framework to find trace.h
 CFLAGS_trace.o := -I$(src)