]> git.baikalelectronics.ru Git - kernel.git/commit
Makefile: Globally enable fall-through warning
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 7 Jun 2019 00:46:17 +0000 (19:46 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 26 Jul 2019 01:13:54 +0000 (20:13 -0500)
commitee5c1331a06b3feebb13ff7e172f1c51949ceb3d
tree5661bb70a44691aa257dd640625996fa9a3b017e
parente6fb14927ca1e1ba941c7e6b8f4eb5b199d3cd11
Makefile: Globally enable fall-through warning

Now that all the fall-through warnings have been addressed in the
kernel, enable the fall-through warning globally.

Also, update the deprecated.rst file to include implicit fall-through
as 'deprecated' so people can be pointed to a single location for
justification.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Kees Cook <keescook@chromium.org>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Documentation/process/deprecated.rst
Makefile