diff options
| author | Randy Dunlap <[email protected]> | 2021-04-22 05:16:53 +0000 |
|---|---|---|
| committer | Vineet Gupta <[email protected]> | 2021-05-10 19:38:59 +0000 |
| commit | 8e97bf39fa0361af3e64739b3766992b9dafa11d (patch) | |
| tree | 8fd842e5dae2f8ca916aae480672bd348275ff40 /tools/perf/scripts/python | |
| parent | arc: Fix typos/spellos (diff) | |
| download | kernel-8e97bf39fa0361af3e64739b3766992b9dafa11d.tar.gz kernel-8e97bf39fa0361af3e64739b3766992b9dafa11d.zip | |
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: [email protected]
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
