hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/arm64/kernel/crash_dump.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Routines for doing kexec-based kdump
34 *
45 * Copyright (C) 2017 Linaro Limited
56 * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118
129 #include <linux/crash_dump.h>
....@@ -58,7 +55,7 @@
5855 /**
5956 * elfcorehdr_read - read from ELF core header
6057 * @buf: buffer where the data is placed
61
- * @csize: number of bytes to read
58
+ * @count: number of bytes to read
6259 * @ppos: address in the memory
6360 *
6461 * This function reads @count bytes from elf core header which exists