| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* ----------------------------------------------------------------------- * |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * 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. |
|---|
| 13 | 5 | * |
|---|
| 14 | 6 | * ----------------------------------------------------------------------- */ |
|---|
| 15 | 7 | |
|---|
| .. | .. |
|---|
| 50 | 42 | /** |
|---|
| 51 | 43 | * cpio_data find_cpio_data - Search for files in an uncompressed cpio |
|---|
| 52 | 44 | * @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 |
|---|
| 54 | 46 | * @len: Remaining length of the cpio based on data pointer |
|---|
| 55 | 47 | * @nextoff: When a matching file is found, this is the offset from the |
|---|
| 56 | 48 | * beginning of the cpio to the beginning of the next file, not the |
|---|