From: Ajit Khaparde Date: Mon, 7 Nov 2016 15:11:55 +0000 (-0600) Subject: net/bnxt: add a fallthrough comment in cascading switch X-Git-Tag: spdx-start~5356 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bbb187b7c3c005a5464d3e3cbfcef64fdca9fe39;p=dpdk.git net/bnxt: add a fallthrough comment in cascading switch The cascading switch statement in bnxt_hwrm.c is missing the FALLTHROUGH comment. Adding that. Coverity issue: 127552 Signed-off-by: Ajit Khaparde Acked-by: Ferruh Yigit --- diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index cf79fc6d0f..07e712411b 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -606,6 +606,7 @@ int bnxt_hwrm_ring_alloc(struct bnxt *bp, switch (ring_type) { case HWRM_RING_ALLOC_INPUT_RING_TYPE_TX: req.queue_id = bp->cos_queue[0].id; + /* FALLTHROUGH */ case HWRM_RING_ALLOC_INPUT_RING_TYPE_RX: req.ring_type = ring_type; req.cmpl_ring_id =