tipc: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:40:08 +0000 (12:40 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 01:08:42 +0000 (20:08 -0500)
commit1c78ba4924107b06de60f887a0d20d9b3e9bc9e2
treefd8ded0b266c55d5b1bd9bb91f43833dbdb9e30b
parent0572b37b27f4f26bfd53f0f10186fa1783b97421
tipc: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement 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/tipc/link.c