diff options
| author | Gustavo A. R. Silva <[email protected]> | 2019-04-29 17:38:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-01 15:36:55 +0000 |
| commit | 6d1474a94ea2641f56c7893eb1e30558fd92f55d (patch) | |
| tree | 4e17786dbfcf2baa5f9e3c981544dab0afe1bd58 /net/ipv4/tcp_input.c | |
| parent | sfc: mcdi_port: Mark expected switch fall-through (diff) | |
| download | kernel-6d1474a94ea2641f56c7893eb1e30558fd92f55d.tar.gz kernel-6d1474a94ea2641f56c7893eb1e30558fd92f55d.zip | |
netdevsim: fix fall-through annotation
Replace "pass through" with a proper "fall through" annotation
in order to fix the following warning:
drivers/net/netdevsim/bus.c: In function ‘new_device_store’:
drivers/net/netdevsim/bus.c:170:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
port_count = 1;
~~~~~~~~~~~^~~
drivers/net/netdevsim/bus.c:172:2: note: here
case 2:
^~~~
Warning level 3 was used: -Wimplicit-fallthrough=3
This fix is part of the ongoing efforts to enable
-Wimplicit-fallthrough
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
