linux/drivers/net/netdevsim
Gustavo A. R. Silva 6d1474a94e 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 <gustavo@embeddedor.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-01 11:36:55 -04:00
..
Makefile netdevsim: merge sdev into dev 2019-04-26 01:52:02 -04:00
bpf.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
bus.c netdevsim: fix fall-through annotation 2019-05-01 11:36:55 -04:00
dev.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
fib.c netdevsim: create devlink instance per netdevsim instance 2019-04-26 01:52:02 -04:00
ipsec.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
netdev.c netdevsim: implement ndo_get_devlink_port 2019-04-26 01:52:03 -04:00
netdevsim.h netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
sdev.c netdevsim: move shared dev creation and destruction into separate file 2019-04-12 16:49:54 -07:00