Skip to contentSkip to conversation

RDMA/nes: Fix for cpp code analyzer warning

PATCH New Tatyana Nikolova 1 participant 1 message Oct 2, 2012 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 RDMA/nes: Fix for cpp code analyzer warning

Fix for cpp code analyzer warning about missing break in a switch statement

---
 drivers/infiniband/hw/nes/nes_verbs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/infiniband/hw/nes/nes_verbs.c +1 -0
index 8b8812d..c4cfd85 100644
@@ -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