rds: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:38:47 +0000 (12:38 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 01:00:27 +0000 (20:00 -0500)
commit3754fa747dc0fb41cd1fd9a79bcb442dfe6802b3
tree857a02d2e1ae99efb27bfb8f961cf8b41618ac19
parent5af5a020ddd10afc6caff05b4c941c2b1c17bf1d
rds: 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
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
net/rds/tcp_connect.c
net/rds/threads.c