net: netrom: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:38:15 +0000 (12:38 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 00:57:08 +0000 (19:57 -0500)
commit6518e3fc972ed54772f81e8b89b17be47f6d55f3
treed4bad4cfd4cf572ff5ffd9d984c006ecf082619c
parent731d5f441e1c6c1c4f012ac43b644f63e9ae8478
net: netrom: 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>
net/netrom/nr_route.c