projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf7765
)
sparc32: fix fall-through annotation
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Tue, 2 Oct 2018 10:15:17 +0000
(12:15 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 8 Oct 2018 05:42:02 +0000
(22:42 -0700)
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/kgdb_32.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/kgdb_32.c
b/arch/sparc/kernel/kgdb_32.c
index
5868fc3
..
639c8e5
100644
(file)
--- a/
arch/sparc/kernel/kgdb_32.c
+++ b/
arch/sparc/kernel/kgdb_32.c
@@
-122,7
+122,7
@@
int kgdb_arch_handle_exception(int e_vector, int signo, int err_code,
linux_regs->pc = addr;
linux_regs->npc = addr + 4;
}
- /* fall
thru
*/
+ /* fall
through
*/
case 'D':
case 'k':