net/mlx4: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 29 Jun 2021 13:17:23 +0000 (08:17 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 29 Jun 2021 13:17:23 +0000 (08:17 -0500)
commit6ca24c65632e5c8a46641fa81e0c42a81b5822a5
tree6d30487097f04e1b41117c5481be28d0fc693858
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc
net/mlx4: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of just letting the code
fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c