]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:39:10 +0000 (12:39 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 4 Jun 2021 22:40:04 +0000 (17:40 -0500)
commit76a837c8c5a621bbc4985472f75a07e79d32e13f
treed5f17be7a661710fcb4898aaef9af3ac64681886
parent5c23251d307dfb9932d81a2d6fe7f18bbce4d24f
rxrpc: 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
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
net/rxrpc/af_rxrpc.c