net: rose: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 10 Mar 2021 05:43:45 +0000 (23:43 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 20:45:15 +0000 (12:45 -0800)
commit90d181ca488f466904ea59dd5c836f766b69c71b
tree90727bad664645e5dca4f6de15a4130638758518
parentb1866bfff9223e4d15727e05a865b744a163eff2
net: rose: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rose/rose_route.c