]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kbuild: enforce -Werror=return-type
authorOlaf Hering <olaf@aepfle.de>
Sun, 11 Oct 2020 18:54:31 +0000 (20:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jan 2021 17:22:39 +0000 (18:22 +0100)
commit47b5fc25044c81190203fe73d84068bffa0dd73a
tree4dedd35a5f9ccacad09cd9dc9505e2143dd95ac9
parent1921060a11b30dedfa8732c83de382788811bb83
kbuild: enforce -Werror=return-type

commit 172aad81a882443eefe1bd860c4eddc81b14dd5b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Makefile