diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-27 22:38:44 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-01-02 20:43:24 +0100 |
commit | 80a7d1d991e35b0370c0396f36f6a076869a6bac (patch) | |
tree | 1b0d52856aea9072dbcbe27746303106b3c20dda /Makefile | |
parent | 4307184f2b9240d0443bdf944c7b9eac044fe67b (diff) | |
download | linux-rpi-80a7d1d991e35b0370c0396f36f6a076869a6bac.tar.gz linux-rpi-80a7d1d991e35b0370c0396f36f6a076869a6bac.tar.bz2 linux-rpi-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) |