]> 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)
commitf99fa5db9b35353790e1da915b8ce6ccecb2b73b
treed9824e95ef8d6463ebd68b8033be0aa71b3f6d48
parent4213d3ce0f7f3ae1dbb5fe6444a9e5848824d509
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