]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
video: fbdev: cirrusfb: mark expected switch fall-throughs
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 9 Nov 2017 17:09:32 +0000 (18:09 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 9 Nov 2017 17:09:32 +0000 (18:09 +0100)
commit8c152208685ad1b01efdf540ac4a1c155de3451d
tree42b9b447ab426902eb2c0caaf3e1cf419edf23c2
parent0101f48ae50d700becafbbba2c57005174c54658
video: fbdev: cirrusfb: mark expected switch fall-throughs

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>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/cirrusfb.c