From: Greg Kroah-Hartman Date: Thu, 1 Mar 2018 16:27:50 +0000 (+0100) Subject: staging: fsl-mc: dpio: remove foolish -Werror Makefile addtion X-Git-Tag: v4.17-rc1~124^2~306 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0540bccdb5afe856958ed57b20e8e9a75ff9c3b7;p=thirdparty%2Flinux.git staging: fsl-mc: dpio: remove foolish -Werror Makefile addtion With the zillion different compilers out there, never use -Werror, otherwise your code will end up breaking the build for odd reasons. Like now, if this driver is enabled, it breaks the build due to a function that could be marked static. So it's obvious no one is even paying attention to this driver :( Cc: Ioana Radulescu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fsl-mc/bus/dpio/Makefile b/drivers/staging/fsl-mc/bus/dpio/Makefile index 53ba84d7b884f..b9ff24c765825 100644 --- a/drivers/staging/fsl-mc/bus/dpio/Makefile +++ b/drivers/staging/fsl-mc/bus/dpio/Makefile @@ -3,8 +3,6 @@ # QorIQ DPAA2 DPIO driver # -subdir-ccflags-y := -Werror - obj-$(CONFIG_FSL_MC_DPIO) += fsl-mc-dpio.o fsl-mc-dpio-objs := dpio.o qbman-portal.o dpio-service.o dpio-driver.o