mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-07 23:25:45 +00:00
net: sfc: falcon: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1384500 ("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
4e50ffcf1f
commit
5683a7a697
1 changed files with 1 additions and 0 deletions
|
@ -963,6 +963,7 @@ ef4_ethtool_get_rxnfc(struct net_device *net_dev,
|
||||||
switch (info->flow_type) {
|
switch (info->flow_type) {
|
||||||
case TCP_V4_FLOW:
|
case TCP_V4_FLOW:
|
||||||
info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
|
info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
|
||||||
|
/* Fall through */
|
||||||
case UDP_V4_FLOW:
|
case UDP_V4_FLOW:
|
||||||
case SCTP_V4_FLOW:
|
case SCTP_V4_FLOW:
|
||||||
case AH_ESP_V4_FLOW:
|
case AH_ESP_V4_FLOW:
|
||||||
|
|
Loading…
Add table
Reference in a new issue