]> git.baikalelectronics.ru Git - kernel.git/commit
video: offb: annotate implicit fall throughs
authorMathieu Malaterre <malat@debian.org>
Fri, 8 Feb 2019 18:24:46 +0000 (19:24 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 8 Feb 2019 18:24:46 +0000 (19:24 +0100)
commit8c7391f1ff2cf77bad25e761988ca7df9efb5e94
treed9824e95ef8d6463ebd68b8033be0aa71b3f6d48
parent772c4c05fb7a44c3189e72c21e35353c52cacc19
video: offb: annotate implicit fall throughs

There is a plan to build the kernel with -Wimplicit-fallthrough and
these places in the code produced warnings (W=1). Fix them up.

This commit remove the following warnings:

  drivers/video/fbdev/offb.c:211:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  drivers/video/fbdev/offb.c:142:3: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Acked-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/offb.c