9p: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 23 Jan 2019 07:16:32 +0000 (01:16 -0600)
committerDominique Martinet <dominique.martinet@cea.fr>
Wed, 23 Jan 2019 07:29:54 +0000 (16:29 +0900)
commit3bbe8b1a4ae9585e9cf15e7036bf9e5374a482df
tree1fc4b6aac61875fd6f1eb5346c0c19e27dd53be7
parent49a57857aeea06ca831043acbb0fa5e0f50602fd
9p: mark expected switch fall-through

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

This patch fixes the following warning:

net/9p/trans_xen.c:514:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enabling
-Wimplicit-fallthrough

Link: http://lkml.kernel.org/r/20190123071632.GA8039@embeddedor
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
net/9p/trans_xen.c