aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>2012-10-02 12:38:12 -0400
committerRoland Dreier <roland@purestorage.com>2012-10-03 17:27:58 -0400
commitd5fb476a10a9de56fb518886619ae9a6bf7c7efd (patch)
treed9ffbb886723d7ec280e4145a911e960408db6af
parent7a9a2970b5c1c2ce73d4bb84edaa7ebf13e0c841 (diff)
RDMA/nes: Add missing break to switch.
Static code analyzer cppcheck points out a missing break. Reported-by: David Binderman <dcb314@hotmail.com> Addresses: <https://bugzilla.kernel.org/show_bug.cgi?id=47671> Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--drivers/infiniband/hw/nes/nes_verbs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
index 1dadcf388c02..9eb54b7794fb 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -3006,6 +3006,7 @@ int nes_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
3006 switch (nesqp->hw_iwarp_state) { 3006 switch (nesqp->hw_iwarp_state) {
3007 case NES_AEQE_IWARP_STATE_CLOSING: 3007 case NES_AEQE_IWARP_STATE_CLOSING:
3008 next_iwarp_state = NES_CQP_QP_IWARP_STATE_CLOSING; 3008 next_iwarp_state = NES_CQP_QP_IWARP_STATE_CLOSING;
3009 break;
3009 case NES_AEQE_IWARP_STATE_TERMINATE: 3010 case NES_AEQE_IWARP_STATE_TERMINATE:
3010 next_iwarp_state = NES_CQP_QP_IWARP_STATE_TERMINATE; 3011 next_iwarp_state = NES_CQP_QP_IWARP_STATE_TERMINATE;
3011 break; 3012 break;