mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
ipv4: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in some cases I placed the "fall through" comment on its own line, which is what GCC is expecting to find. Addresses-Coverity-ID: 115108 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
86e58cce93
commit
fcfd6dfab9
7 changed files with 11 additions and 3 deletions
|
@ -1779,8 +1779,9 @@ do_time_wait:
|
|||
refcounted = false;
|
||||
goto process;
|
||||
}
|
||||
/* Fall through to ACK */
|
||||
}
|
||||
/* to ACK */
|
||||
/* fall through */
|
||||
case TCP_TW_ACK:
|
||||
tcp_v4_timewait_ack(sk, skb);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue