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)
commita035d552a93bb9ef6048733bb9f2a0dc857ff869
tree5661bb70a44691aa257dd640625996fa9a3b017e
parent2defb94edb44784b0b5064633e05c97fdb1b0e0f
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