diff options
author | Toomas Soome <tsoome@me.com> | 2017-08-11 15:44:07 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2018-06-25 16:26:44 -0400 |
commit | 4e0c5eff9af325c80994e9527b7cb8b3a1ffd1d4 (patch) | |
tree | 03b7f72fdae1d769cc64377c0e71944b7f4b4378 | |
parent | 645a7badb6d38db4d4e2040b6e5ccfbcdf9e7f85 (diff) | |
download | illumos-joyent-4e0c5eff9af325c80994e9527b7cb8b3a1ffd1d4.tar.gz |
9268 cxgbe: this statement may fall through
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c b/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c index 2109c6fcf2..2c808a23fe 100644 --- a/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c +++ b/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c @@ -812,6 +812,7 @@ t4_ring_rx(struct sge_rxq *rxq, int budget) panic("%s: line %d.", __func__, __LINE__); } + /* FALLTHROUGH */ case X_RSPD_TYPE_CPL: ASSERT(rss->opcode < NUM_CPL_CMDS); @@ -1270,7 +1271,7 @@ init_eq(struct adapter *sc, struct sge_eq *eq, uint16_t eqtype, uint16_t qsize, (S_QUEUESPERPAGEPF1 - S_QUEUESPERPAGEPF0) * sc->pf; s->s_qpp = r & M_QUEUESPERPAGEPF0; } - + eq->flags = eqtype & EQ_TYPEMASK; eq->tx_chan = tx_chan; eq->iqid = iqid; @@ -3106,7 +3107,7 @@ ring_tx_db(struct adapter *sc, struct sge_eq *eq) *eq->udb = LE_32(V_QID(eq->udb_qid) | val); break; - case DOORBELL_WCWR: + case DOORBELL_WCWR: { volatile uint64_t *dst, *src; int i; @@ -3138,7 +3139,7 @@ ring_tx_db(struct adapter *sc, struct sge_eq *eq) V_QID(eq->cntxt_id) | val); break; } - + eq->pending = 0; } |