]> 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)
commit9efd3326fae8b1197ba8f89495769bda6f6238f6
tree5661bb70a44691aa257dd640625996fa9a3b017e
parent9537fa6aed3f9174213b758cd8ba714ed9bb45b1
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