hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/arm/probes/kprobes/test-core.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * arch/arm/kernel/kprobes-test.c
34 *
45 * Copyright (C) 2011 Jon Medhurst <tixy@yxit.co.uk>.
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.
96 */
107
118 /*
....@@ -723,7 +720,7 @@
723720 [REG_TYPE_NOSPPCX] = COVERAGE_ANY_REG | COVERAGE_SP,
724721 };
725722
726
-unsigned coverage_start_registers(const struct decode_header *h)
723
+static unsigned coverage_start_registers(const struct decode_header *h)
727724 {
728725 unsigned regs = 0;
729726 int i;