diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-09 04:38:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-11 11:10:06 +0100 |
commit | 2d919149686e2da001e58e8a2ed49a0200c9db78 (patch) | |
tree | 0b24b63df42a0549fd65f9340c30fc136d5a3eb7 /net/decnet/dn_table.c | |
parent | l2tp: don't close sessions in l2tp_tunnel_destruct() (diff) | |
download | linux-2d919149686e2da001e58e8a2ed49a0200c9db78.tar.xz linux-2d919149686e2da001e58e8a2ed49a0200c9db78.zip |
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 <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_table.c')
-rw-r--r-- | net/decnet/dn_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |