diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-04-21 22:16:53 -0700 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2021-05-10 12:38:59 -0700 |
commit | 8e97bf39fa0361af3e64739b3766992b9dafa11d (patch) | |
tree | 8fd842e5dae2f8ca916aae480672bd348275ff40 /drivers/usb/cdns3/cdns3-imx.c | |
parent | f79f7a2d96769d2a3e663a3e673066be77c30cc3 (diff) |
ARC: kgdb: add 'fallthrough' to prevent a warning
Use the 'fallthrough' macro to document that this switch case
does indeed fall through to the next case.
../arch/arc/kernel/kgdb.c: In function 'kgdb_arch_handle_exception':
../arch/arc/kernel/kgdb.c:141:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
141 | if (kgdb_hex2long(&ptr, &addr))
| ^
../arch/arc/kernel/kgdb.c:144:2: note: here
144 | case 'D':
| ^~~~
Cc: linux-snps-arc@lists.infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions