From: Gustavo A. R. Silva Date: Thu, 9 Nov 2017 03:38:28 +0000 (-0600) Subject: net: decnet: dn_table: mark expected switch fall-through X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2d919149686e2da001e58e8a2ed49a0200c9db78;p=openwrt%2Fstaging%2Fblogic.git net: decnet: dn_table: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 115106 Signed-off-by: Gustavo A. R. Silva Signed-off-by: David S. Miller --- diff --git a/net/decnet/dn_table.c b/net/decnet/dn_table.c index 08667f68e601..f0710b5d037d 100644 --- a/net/decnet/dn_table.c +++ b/net/decnet/dn_table.c @@ -156,6 +156,7 @@ static void dn_rehash_zone(struct dn_zone *dz) default: printk(KERN_DEBUG "DECnet: dn_rehash_zone: BUG! %d\n", old_divisor); + /* fall through */ case 256: new_divisor = 1024; new_hashmask = 0x3FF;