From: Hannes Eder Date: Sat, 27 Dec 2008 21:38:44 +0000 (+0100) Subject: kbuild: disable sparse warning "returning void-valued expression" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80a7d1d991e35b0370c0396f36f6a076869a6bac;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git kbuild: disable sparse warning "returning void-valued expression" The sparse warning -Wreturn-void ("returning void-valued expression") is off by default, but it is enabled with -Wall, so add -Wno-return-void to CHECKFLAGS to disable it. Signed-off-by: Hannes Eder Signed-off-by: Sam Ravnborg --- diff --git a/Makefile b/Makefile index d13a9694e159..f9006663f01e 100644 --- a/Makefile +++ b/Makefile @@ -321,7 +321,8 @@ KALLSYMS = scripts/kallsyms PERL = perl CHECK = sparse -CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise $(CF) +CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ + -Wbitwise -Wno-return-void $(CF) MODFLAGS = -DMODULE CFLAGS_MODULE = $(MODFLAGS) AFLAGS_MODULE = $(MODFLAGS)