]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pvcalls-front: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 2 Nov 2017 18:51:22 +0000 (13:51 -0500)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 3 Nov 2017 15:37:29 +0000 (11:37 -0400)
commitf8acb8b0b51976a07248d17f863eabcd09472135
tree7ad6e3545f816b9c9b68930eb309dee6db902d96
parent42cd59239a51b32fdb4b044a3ab43ad9d3680574
xen/pvcalls-front: mark expected switch fall-through

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

Notice that in this particular case I placed the "fall through" comment
on its own line, which is what GCC is expecting to find.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/pvcalls-front.c