diff options
author | Hannes Eder | 2008-12-27 22:38:44 +0100 |
---|---|---|
committer | Sam Ravnborg | 2009-01-02 20:43:24 +0100 |
commit | 80a7d1d991e35b0370c0396f36f6a076869a6bac (patch) | |
tree | 1b0d52856aea9072dbcbe27746303106b3c20dda /Makefile | |
parent | kbuild: in headers_install autoconvert asm/inline/volatile to __xxx__ (diff) | |
download | kernel-qcow2-linux-80a7d1d991e35b0370c0396f36f6a076869a6bac.tar.gz kernel-qcow2-linux-80a7d1d991e35b0370c0396f36f6a076869a6bac.tar.xz kernel-qcow2-linux-80a7d1d991e35b0370c0396f36f6a076869a6bac.zip |
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 <hannes@hanneseder.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |