]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: riscpc: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 21 Aug 2019 00:29:16 +0000 (19:29 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 21 Aug 2019 00:42:48 +0000 (19:42 -0500)
commit06264adfa2bcc8abb556dec9af0e86150a67faf0
tree5442559acdcf1afc8cb15034d3f975fec3aa324f
parent377ec83643efcae869528b4b26a5070fdeba3abd
ARM: riscpc: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

Fix the following warning (Building: rpc_defconfig arm):

arch/arm/mach-rpc/riscpc.c: In function ‘parse_tag_acorn’:
arch/arm/mach-rpc/riscpc.c:48:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
   vram_size += PAGE_SIZE * 256;
   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
arch/arm/mach-rpc/riscpc.c:49:2: note: here
  case 256:
  ^~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
arch/arm/mach-rpc/riscpc.c