瀏覽代碼

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

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gustavo A. R. Silva 6 年之前
父節點
當前提交
b7dc10b64f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sparc/kernel/kgdb_64.c

+ 1 - 1
arch/sparc/kernel/kgdb_64.c

@@ -148,7 +148,7 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code,
 			linux_regs->tpc = addr;
 			linux_regs->tpc = addr;
 			linux_regs->tnpc = addr + 4;
 			linux_regs->tnpc = addr + 4;
 		}
 		}
-		/* fallthru */
+		/* fall through */
 
 
 	case 'D':
 	case 'D':
 	case 'k':
 	case 'k':