Anders Roxell eca92a53a6 arm64: module: Mark expected switch fall-through
When fall-through warnings was enabled by default the following warnings
was starting to show up:

../arch/arm64/kernel/module.c: In function ‘apply_relocate_add’:
../arch/arm64/kernel/module.c:316:19: warning: this statement may fall
 through [-Wimplicit-fallthrough=]
    overflow_check = false;
    ~~~~~~~~~~~~~~~^~~~~~~
../arch/arm64/kernel/module.c:317:3: note: here
   case R_AARCH64_MOVW_UABS_G0:
   ^~~~
../arch/arm64/kernel/module.c:322:19: warning: this statement may fall
 through [-Wimplicit-fallthrough=]
    overflow_check = false;
    ~~~~~~~~~~~~~~~^~~~~~~
../arch/arm64/kernel/module.c:323:3: note: here
   case R_AARCH64_MOVW_UABS_G1:
   ^~~~

Rework so that the compiler doesn't warn about fall-through.

Fixes: d93512ef0f0e ("Makefile: Globally enable fall-through warning")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
2019-07-29 11:59:36 +01:00
..
2019-07-08 09:54:55 -07:00
2019-07-22 10:37:33 +01:00
2019-07-22 10:37:33 +01:00
2019-07-08 09:54:55 -07:00
2019-07-08 09:54:55 -07:00
2019-07-08 09:54:55 -07:00
2019-07-08 09:54:55 -07:00
2019-07-03 15:57:30 +08:00
2019-07-08 09:54:55 -07:00
2019-07-15 20:44:49 -07:00
2019-07-22 15:24:16 +01:00
2019-07-08 09:54:55 -07:00
2019-04-23 18:01:57 +01:00