]> git.baikalelectronics.ru Git - kernel.git/commit
kgdb: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 28 May 2021 20:02:22 +0000 (15:02 -0500)
committerDaniel Thompson <daniel.thompson@linaro.org>
Tue, 1 Jun 2021 09:34:35 +0000 (10:34 +0100)
commit3c81918ac4ba17790e741f35a201be079fb76871
tree3261fabe81db6f65ab5b409d1c3ea0595ea7fef4
parent91371b6cb1d97d37e285bc796e3c3954ac33d384
kgdb: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a
fall-through warning by explicitly adding a goto statement instead
of letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20210528200222.GA39201@embeddedor
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
kernel/debug/debug_core.c