Skip to contentSkip to conversation

sparc64: fix fall-through annotation

PATCH Applied Gustavo A. R. Silva 2 participants 2 messages Oct 2, 2018 – Oct 8, 2018 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc64: fix fall-through annotation

Replace "fallthru" with a proper "fall through" annotation.

This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough

---
 arch/sparc/kernel/kgdb_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/kernel/kgdb_64.c +1 -1
index d5f7dc6..a68bbddbd 100644
@@ -148,7 +148,7 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code,
 			linux_regs->tpc = addr;
 			linux_regs->tnpc = addr + 4;
 		}
-		/* fallthru */
+		/* fall through */
 
 	case 'D':
 	case 'k':
Signature · 1 line
2.7.4