aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayoutdev.c
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2014-05-30 22:38:58 +0000
committerRoland Dreier <[email protected]>2014-05-30 22:38:58 +0000
commit165cb465f73c33c4fb9a79951a623083291c6f1e (patch)
treebd973a9cbf74cb73e71a0e0a52c77bfb252d6bc9 /fs/nfs/filelayout/filelayoutdev.c
parentIB/mlx4: Add interface for selecting VFs to enable QP0 via MLX proxy QPs (diff)
downloadkernel-165cb465f73c33c4fb9a79951a623083291c6f1e.tar.gz
kernel-165cb465f73c33c4fb9a79951a623083291c6f1e.zip
mlx4_core: Move handling of MLX4_QP_ST_MLX to proper switch statement
The handling of MLX4_QP_ST_MLX in verify_qp_parameters() was accidentally put inside the inner switch statement (that handles which transition of RC/UC/XRC QPs is happening). Fix this by moving the case to the outer switch statement. The compiler pointed this out with: drivers/net/ethernet/mellanox/mlx4/resource_tracker.c: In function 'verify_qp_parameters': >> drivers/net/ethernet/mellanox/mlx4/resource_tracker.c:2875:3: warning: case value '7' not in enumerated type 'enum qp_transition' [-Wswitch] case MLX4_QP_ST_MLX: Reported-by: kbuild test robot <[email protected]> Fixes: 99ec41d0a48c ("mlx4: Add infrastructure for selecting VFs to enable QP0 via MLX proxy QPs") Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions