OSDN Git Service

rds: send: mark expected switch fall-through in rds_rm_size
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 19 Feb 2018 18:10:20 +0000 (12:10 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 19:18:18 +0000 (14:18 -0500)
commitf905311356ecb9c88aceeb4fa63ee0a244fc2d72
tree347267e9053047293e2e83afae65f3f2b697488f
parentaa00d40b2e0b28d9cc9642518f07985d044c2b70
rds: send: mark expected switch fall-through in rds_rm_size

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 1465362 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/send.c