RDMA/nes: Fix for cpp code analyzer warning
PATCH 1/2 RDMA/nes: Fix for cpp code analyzer warning
Fix for cpp code analyzer warning about missing break in a switch statement
Reported-by David Binderman <[email protected]>
Signed-off-by Tatyana Nikolova <[email protected]>
--- drivers/infiniband/hw/nes/nes_verbs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/infiniband/hw/nes/nes_verbs.c +1 -0
@@ -3006,6 +3006,7 @@ int nes_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,switch (nesqp->hw_iwarp_state) {case NES_AEQE_IWARP_STATE_CLOSING : next_iwarp_state =NES_CQP_QP_IWARP_STATE_CLOSING ; +break ;case NES_AEQE_IWARP_STATE_TERMINATE : next_iwarp_state =NES_CQP_QP_IWARP_STATE_TERMINATE ;break ;
Signature · 6 lines
1.7.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html