diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-03-06 15:47:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-07 11:52:02 +0300 |
commit | d24e163af05c93e923aff76e01e6e30182cb38e3 (patch) | |
tree | f89dc855d4697ed4e43d3cb356768acff1ebb3b9 /Documentation/devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | |
parent | 68af43173d3fcece70bef49cb992c64c4c68ff23 (diff) | |
download | linux-d24e163af05c93e923aff76e01e6e30182cb38e3.tar.xz |
tty: mips_ejtag_fdc: Mark expected switch fall-through
Mark mips_ejtag_fdc_encode() methods switch-case-4 as expecting to
fall through.
This patch fixes the following warning:
drivers/tty/mips_ejtag_fdc.c: In function ‘mips_ejtag_fdc_encode’:
drivers/tty/mips_ejtag_fdc.c:245:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
word.word &= 0x00ffffff;
~~~~~~~~~~^~~~~~~~~~~~~
drivers/tty/mips_ejtag_fdc.c:246:2: note: here
case 3:
^~~~
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Link: https://lore.kernel.org/r/20200306124913.151A68030792@mail.baikalelectronics.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt')
0 files changed, 0 insertions, 0 deletions