]> git.baikalelectronics.ru Git - kernel.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)
commite5cdcd621db9ad840e1433cec108a211310d4964
tree9629531cd8d3d0b35071a9e0ad86b0f91a173f6a
parent9ad814173223180ca3123b9150fa900a778f9a8b
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