hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm/probes/kprobes/checkers-common.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * arch/arm/probes/kprobes/checkers-common.c
34 *
45 * Copyright (C) 2014 Huawei Inc.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * General Public License for more details.
146 */
157
168 #include <linux/kernel.h>
....@@ -48,7 +40,7 @@
4840 * Different from other insn uses imm8, the real addressing offset of
4941 * STRD in T32 encoding should be imm8 * 4. See ARMARM description.
5042 */
51
-enum probes_insn checker_stack_use_t32strd(probes_opcode_t insn,
43
+static enum probes_insn checker_stack_use_t32strd(probes_opcode_t insn,
5244 struct arch_probes_insn *asi,
5345 const struct decode_header *h)
5446 {