hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/acpi/apei/erst-dbg.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * APEI Error Record Serialization Table debug support
34 *
....@@ -8,15 +9,6 @@
89 *
910 * Copyright 2010 Intel Corp.
1011 * Author: Huang Ying <ying.huang@intel.com>
11
- *
12
- * This program is free software; you can redistribute it and/or
13
- * modify it under the terms of the GNU General Public License version
14
- * 2 as published by the Free Software Foundation.
15
- *
16
- * This program is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU General Public License for more details.
2012 */
2113
2214 #include <linux/kernel.h>
....@@ -126,9 +118,8 @@
126118 if (rc < 0)
127119 goto out;
128120 if (len > ERST_DBG_RECORD_LEN_MAX) {
129
- pr_warning(ERST_DBG_PFX
130
- "Record (ID: 0x%llx) length is too long: %zd\n",
131
- id, len);
121
+ pr_warn(ERST_DBG_PFX
122
+ "Record (ID: 0x%llx) length is too long: %zd\n", id, len);
132123 rc = -EIO;
133124 goto out;
134125 }