]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: unwind: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 5 Aug 2019 19:32:32 +0000 (14:32 -0500)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 6 Aug 2019 05:50:02 +0000 (11:20 +0530)
commitf6bf10034d938d1b094f529ca16e44717e9d6a32
tree80c3036d56e78c68f2018248b6b27a9519340262
parenta115b04e1ae1451b7197503fd77909c0b44c271f
ARC: unwind: Mark expected switch fall-throughs

Mark switch cases where we are expecting to fall through.

This patch fixes the following warnings (Building: haps_hs_defconfig arc):

arch/arc/kernel/unwind.c:827:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
arch/arc/kernel/unwind.c:836:20: warning: this statement may fall through [-Wimplicit-fallthrough=]

Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/unwind.c