author: Randy Dunlap <rdunlap@infradead.org> 2021-04-16 15:46:26 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-04-16 16:10:37 -0700
commit: c95c2d328cd051484bea161e66dfa715c02a7d7e
parent: 04c53de57cb6435738961dace8b1b71d3ecd3c39
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/lib/earlycpio.c b/lib/earlycpio.c
index e83628882001..7921193f0424 100644
--- a/lib/earlycpio.c
+++ b/lib/earlycpio.c
@@ -40,7 +40,7 @@ enum cpio_fields {
};
/**
- * cpio_data find_cpio_data - Search for files in an uncompressed cpio
+ * find_cpio_data - Search for files in an uncompressed cpio
* @path: The directory to search for, including a slash at the end
* @data: Pointer to the cpio archive or a header inside
* @len: Remaining length of the cpio based on data pointer
@@ -49,7 +49,7 @@ enum cpio_fields {
* matching file itself. It can be used to iterate through the cpio
* to find all files inside of a directory path.
*
- * @return: struct cpio_data containing the address, length and
+ * Return: &struct cpio_data containing the address, length and
* filename (with the directory path cut off) of the found file.
* If you search for a filename and not for files in a directory,
* pass the absolute path of the filename in the cpio and make sure