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)
commite86d94fdda8e11a2acbe0a910e82f7519f6088b7
tree80c3036d56e78c68f2018248b6b27a9519340262
parentce0eff0d9b4d37702df48a39e3fddb5e39b2c25b
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