mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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>
This commit is contained in:
parent
da1fb2909e
commit
c3cb6674df
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue