diff options
author | Tatyana Nikolova <Tatyana.E.Nikolova@intel.com> | 2012-10-02 16:38:12 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-10-03 21:27:58 (GMT) |
commit | d5fb476a10a9de56fb518886619ae9a6bf7c7efd (patch) | |
tree | d9ffbb886723d7ec280e4145a911e960408db6af /drivers/infiniband/hw | |
parent | 7a9a2970b5c1c2ce73d4bb84edaa7ebf13e0c841 (diff) | |
download | linux-d5fb476a10a9de56fb518886619ae9a6bf7c7efd.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_verbs.c | 1 |
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 1dadcf3..9eb54b7 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, 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; |