linux-stable/net/8021q
Gustavo A. R. Silva fa2c52be71 vlan: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warning:

net/8021q/vlan_dev.c: In function ‘vlan_dev_ioctl’:
net/8021q/vlan_dev.c:374:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (!net_eq(dev_net(dev), &init_net))
      ^
net/8021q/vlan_dev.c:376:2: note: here
  case SIOCGMIIPHY:
  ^~~~

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-20 11:38:55 -07:00
..
Kconfig 8021q: update description 2014-01-21 17:01:25 -08:00
Makefile net: remove blank lines at end of file 2018-07-24 14:10:43 -07:00
vlan.c vlan: do not transfer link state in vlan bridge binding mode 2019-04-19 13:58:17 -07:00
vlan.h net: vlan: add support for tunnel offload 2018-11-07 22:23:30 -08:00
vlan_core.c net: 8021q: move vlan offload registrations into vlan_core 2018-11-16 19:51:08 -08:00
vlan_dev.c vlan: Mark expected switch fall-through 2019-05-20 11:38:55 -07:00
vlan_gvrp.c
vlan_mvrp.c
vlan_netlink.c netlink: make validation more configurable for future strictness 2019-04-27 17:07:21 -04:00
vlanproc.c proc: introduce proc_create_net{,_data} 2018-05-16 07:24:30 +02:00
vlanproc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00