net: smc911x: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 29 Jul 2019 22:10:16 +0000 (17:10 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 22:13:10 +0000 (15:13 -0700)
commita20961cc9493be46b5c4f565b925284a90c7864c
treef83fd52458d4ce472c81b5382a1f3dc6cdf27b5d
parent7bd6ba4ef4b29db7464da496963081f5fdc88300
net: smc911x: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

This patch fixes the following warning (Building: arm):

drivers/net/ethernet/smsc/smc911x.c: In function ‘smc911x_phy_detect’:
drivers/net/ethernet/smsc/smc911x.c:677:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (cfg & HW_CFG_EXT_PHY_DET_) {
       ^
drivers/net/ethernet/smsc/smc911x.c:715:3: note: here
   default:
   ^~~~~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc911x.c