]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a72aed68bdceb45c695a784683623f903f84601
treefd8ded0b266c55d5b1bd9bb91f43833dbdb9e30b
parent326651dfa9856cba11802f8d04267bb386ee14e0
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