Commit 6ca24c65 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva
Browse files

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: default avatarTariq Toukan <tariqt@nvidia.com>
Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
parent d07f6ca9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2660,6 +2660,7 @@ int mlx4_FREE_RES_wrapper(struct mlx4_dev *dev, int slave,
	case RES_XRCD:
		err = xrcdn_free_res(dev, slave, vhcr->op_modifier, alop,
				     vhcr->in_param, &vhcr->out_param);
		break;

	default:
		break;