From: Greg Kroah-Hartman Date: Thu, 20 Nov 2014 03:09:53 +0000 (-0800) Subject: greybus: add -Wall to the build flags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7486dfd161e4474b20e9acf5ca4c8c439cd0def6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: add -Wall to the build flags In an attempt to turn on as many options as we can to catch warnings early, let's enable -Wall. Signed-off-by: Greg Kroah-Hartman Reviewed-by: Alex Elder --- diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index b254516b4392..81174b936b3a 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -23,6 +23,9 @@ KERNELVER ?= $(shell uname -r) KERNELDIR ?= /lib/modules/$(KERNELVER)/build PWD := $(shell pwd) +# add -Wall to try to catch everything we can. +ccFlags-y := -Wall + all: module module: