efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment
authorJialin Zhang <zhangjialin11@huawei.com>
Tue, 8 Nov 2022 02:53:10 +0000 (10:53 +0800)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 18 Nov 2022 08:14:09 +0000 (09:14 +0100)
commit f4dc7fffa987 ("efi: libstub: unify initrd loading between
architectures") merge the first and the second parameters into a
struct without updating the kernel-doc. Let's fix it.

Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efi-stub-helper.c

index 01680b1..739454d 100644 (file)
@@ -483,8 +483,8 @@ static const struct {
 
 /**
  * efi_load_initrd_dev_path() - load the initrd from the Linux initrd device path
- * @load_addr: pointer to store the address where the initrd was loaded
- * @load_size: pointer to store the size of the loaded initrd
+ * @initrd:    pointer of struct to store the address where the initrd was loaded
+ *             and the size of the loaded initrd
  * @max:       upper limit for the initrd memory allocation
  *
  * Return: