OSDN Git Service

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)
commit89ef5c6a7584f9d7f8f11def67d2e8a2312ec9fe
treed9824e95ef8d6463ebd68b8033be0aa71b3f6d48
parentf1fbbf5cfaa8f5e651c85a9c504ed65e96b1b51b
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