]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
phylink: mark expected switch fall-throughs in phylink_mii_ioctl
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 5 Jan 2018 17:23:45 +0000 (11:23 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:21:58 +0000 (14:21 -0500)
commit46cd75036415d94e9cf451e6606a099945d54cc6
tree9629531cd8d3d0b35071a9e0ad86b0f91a173f6a
parent313c86da2d1530f3ff631235ce2a0fdea8f3f1ab
phylink: mark expected switch fall-throughs in phylink_mii_ioctl

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 1463447 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c