hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/lib/earlycpio.c
....@@ -1,15 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* ----------------------------------------------------------------------- *
23 *
34 * Copyright 2012 Intel Corporation; author H. Peter Anvin
4
- *
5
- * This file is part of the Linux kernel, and is made available
6
- * under the terms of the GNU General Public License version 2, as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope it will be useful, but
10
- * WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
- * General Public License for more details.
135 *
146 * ----------------------------------------------------------------------- */
157
....@@ -50,7 +42,7 @@
5042 /**
5143 * cpio_data find_cpio_data - Search for files in an uncompressed cpio
5244 * @path: The directory to search for, including a slash at the end
53
- * @data: Pointer to the the cpio archive or a header inside
45
+ * @data: Pointer to the cpio archive or a header inside
5446 * @len: Remaining length of the cpio based on data pointer
5547 * @nextoff: When a matching file is found, this is the offset from the
5648 * beginning of the cpio to the beginning of the next file, not the