Skip to content

Commit 2d91914

Browse files
GustavoARSilvadavem330
authored andcommitted
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>
1 parent 765924e commit 2d91914

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/decnet/dn_table.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ static void dn_rehash_zone(struct dn_zone *dz)
156156
default:
157157
printk(KERN_DEBUG "DECnet: dn_rehash_zone: BUG! %d\n",
158158
old_divisor);
159+
/* fall through */
159160
case 256:
160161
new_divisor = 1024;
161162
new_hashmask = 0x3FF;

0 commit comments

Comments
 (0)