kbuild: enforce -Werror=return-type
authorOlaf Hering <olaf@aepfle.de>
Sun, 11 Oct 2020 18:54:31 +0000 (20:54 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 12 Oct 2020 00:24:11 +0000 (09:24 +0900)
commit172aad81a882443eefe1bd860c4eddc81b14dd5b
tree045209a3eb8e491878ebb2cede74e698397a493b
parent7dfbea4c468cfbc7e1ceb619fe337e7582eb1d2d
kbuild: enforce -Werror=return-type

Catch errors which at least gcc tolerates by default:
 warning: 'return' with no value, in function returning non-void [-Wreturn-type]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile