cxgb4/l2t: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 114910 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
19aa45d447
commit
20e4fb12b1
|
@ -231,6 +231,7 @@ again:
|
||||||
if (e->state == L2T_STATE_STALE)
|
if (e->state == L2T_STATE_STALE)
|
||||||
e->state = L2T_STATE_VALID;
|
e->state = L2T_STATE_VALID;
|
||||||
spin_unlock_bh(&e->lock);
|
spin_unlock_bh(&e->lock);
|
||||||
|
/* fall through */
|
||||||
case L2T_STATE_VALID: /* fast-path, send the packet on */
|
case L2T_STATE_VALID: /* fast-path, send the packet on */
|
||||||
return t4_ofld_send(adap, skb);
|
return t4_ofld_send(adap, skb);
|
||||||
case L2T_STATE_RESOLVING:
|
case L2T_STATE_RESOLVING:
|
||||||
|
|
Loading…
Reference in New Issue