hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/arm/probes/decode.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * arch/arm/probes/decode.c
34 *
....@@ -5,10 +6,6 @@
56 *
67 * Some contents moved here from arch/arm/include/asm/kprobes-arm.c which is
78 * Copyright (C) 2006, 2007 Motorola Inc.
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License version 2 as
11
- * published by the Free Software Foundation.
129 */
1310
1411 #include <linux/kernel.h>
....@@ -310,7 +307,7 @@
310307 case REG_TYPE_NOPCWB:
311308 if (!is_writeback(insn))
312309 break; /* No writeback, so any register is OK */
313
- /* fall through... */
310
+ fallthrough;
314311 case REG_TYPE_NOPC:
315312 case REG_TYPE_NOPCX:
316313 /* Reject PC (R15) */