]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] atomisp: don't treat warnings as errors
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 18 May 2017 08:40:18 +0000 (05:40 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 4 Jun 2017 18:23:32 +0000 (15:23 -0300)
commitf224c5768c78cb42f582636c4720a4d81d452778
tree1afff8746536e9ac74ad9ee9b8b7b76fef78dec2
parent5ed02dbb497422bf225783f46e6eadd237d23d6b
[media] atomisp: don't treat warnings as errors

Several atomisp files use:
 ccflags-y += -Werror

As, on media, our usual procedure is to use W=1, and atomisp
has *a lot* of warnings with such flag enabled,like:

./drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/system_local.h:62:26: warning: 'DDR_BASE' defined but not used [-Wunused-const-variable=]

At the end, it causes our build to fail, impacting our workflow.

So, remove this crap. If one wants to force -Werror, he
can still build with it enabled by passing a parameter to
make.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/i2c/Makefile
drivers/staging/media/atomisp/i2c/imx/Makefile
drivers/staging/media/atomisp/i2c/ov5693/Makefile
drivers/staging/media/atomisp/pci/atomisp2/Makefile