]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: hw_breakpoint: Fix warnings about implicit fallthrough
authorWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 10:39:45 +0000 (11:39 +0100)
committerWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 10:59:15 +0000 (11:59 +0100)
commitd93f44fa6a376d4001a9efea520f2ffee0a9f6bf
treece72838d550a43350ccdf05e93c2521d2f17929f
parent29a48950ebbcf7ff7f325947a1b47243ae5ddb08
arm64: hw_breakpoint: Fix warnings about implicit fallthrough

Now that -Wimplicit-fallthrough is passed to GCC by default, the kernel
build has suddenly got noisy. Annotate the two fall-through cases in our
hw_breakpoint implementation, since they are both intentional.

Reported-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/hw_breakpoint.c