kdb: kdb_support: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sun, 5 Aug 2018 02:48:44 +0000 (21:48 -0500)
committerDaniel Thompson <daniel.thompson@linaro.org>
Tue, 13 Nov 2018 20:38:50 +0000 (20:38 +0000)
commit646558ff1643467d3b941b47f519867cbca462c3
treeb2d256ff19883759a8bfdd1b08368c9d37e79321
parent01cb37351bafc1b44b962842926210115e231f0a
kdb: kdb_support: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that in this particular case, I replaced the code comments with
a proper "fall through" annotation, which is what GCC is expecting
to find.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
kernel/debug/kdb/kdb_support.c