]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
RDMA/nes: Add missing break to switch.
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Tue, 2 Oct 2012 16:38:12 +0000 (16:38 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 3 Oct 2012 21:27:58 +0000 (14:27 -0700)
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>
drivers/infiniband/hw/nes/nes_verbs.c

index 1dadcf388c0278b1d2e8597e1baa1c5d833ef106..9eb54b7794fbb4a5dfd78dd95e947114f0f30d5e 100644 (file)
@@ -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;