From 7486dfd161e4474b20e9acf5ca4c8c439cd0def6 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 19 Nov 2014 19:09:53 -0800 Subject: [PATCH] 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 --- drivers/staging/greybus/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.5