summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-08-21 03:07:46 +0300
committerGustavo A. R. Silva <gustavo@embeddedor.com>2019-08-21 03:44:01 +0300
commitc3cb6674df4c4a70f949e412dfe2230483092523 (patch)
tree576358b07a9538ecd0d4dcf70422cba1fd10e103 /drivers
parentda1fb2909e701ffbae8c5d6111f475603355e6e2 (diff)
downloadlinux-c3cb6674df4c4a70f949e412dfe2230483092523.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/fbdev/acornfb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/acornfb.c b/drivers/video/fbdev/acornfb.c
index 92f23e3bc27a..7cacae5a8797 100644
--- a/drivers/video/fbdev/acornfb.c
+++ b/drivers/video/fbdev/acornfb.c
@@ -858,6 +858,7 @@ static void acornfb_parse_dram(char *opt)
case 'M':
case 'm':
size *= 1024;
+ /* Fall through */
case 'K':
case 'k':
size *= 1024;