]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: acornfb: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 21 Aug 2019 00:07:46 +0000 (19:07 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 21 Aug 2019 00:44:01 +0000 (19:44 -0500)
commit8307fe1a2d8403bfce749528a1d210ca25f245db
tree576358b07a9538ecd0d4dcf70422cba1fd10e103
parent9b2bcf9eaa473244a23380179d9183e6aa4be4b8
video: fbdev: acornfb: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

Fix the following warning (Building: rpc_defconfig arm):

drivers/video/fbdev/acornfb.c: In function ‘acornfb_parse_dram’:
drivers/video/fbdev/acornfb.c:860:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    size *= 1024;
    ~~~~~^~~~~~~
drivers/video/fbdev/acornfb.c:861:3: note: here
   case 'K':
   ^~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
drivers/video/fbdev/acornfb.c