VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Olaf Hering <olaf@aepfle.de> 2020-10-11 20:54:31 +0200 committer: Masahiro Yamada <masahiroy@kernel.org> 2020-10-12 09:24:11 +0900 commit: 172aad81a882443eefe1bd860c4eddc81b14dd5b parent: 7dfbea4c468cfbc7e1ceb619fe337e7582eb1d2d
Commit Summary:
kbuild: enforce -Werror=return-type
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/Makefile b/Makefile
index ddadab2f2e8b..b76c4122c967 100644
--- a/Makefile
+++ b/Makefile
@@ -497,7 +497,7 @@ KBUILD_AFLAGS   := -D__ASSEMBLY__ -fno-PIE
 KBUILD_CFLAGS   := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
 		   -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \
 		   -Werror=implicit-function-declaration -Werror=implicit-int \
-		   -Wno-format-security \
+		   -Werror=return-type -Wno-format-security \
 		   -std=gnu89
 KBUILD_CPPFLAGS := -D__KERNEL__
 KBUILD_AFLAGS_KERNEL :=