summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorJialin Zhang <zhangjialin11@huawei.com>2022-11-08 03:53:10 +0100
committerArd Biesheuvel <ardb@kernel.org>2022-11-18 09:14:09 +0100
commitd981a88c1669aa350f06db142860564e4330ed0c (patch)
tree76a71151ef4a5048f7c82be244dc93c7dc0299f6 /drivers/firmware
parentefi: x86: Move EFI runtime map sysfs code to arch/x86 (diff)
downloadlinux-d981a88c1669aa350f06db142860564e4330ed0c.tar.xz
linux-d981a88c1669aa350f06db142860564e4330ed0c.zip
efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment
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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/efi/libstub/efi-stub-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/efi/libstub/efi-stub-helper.c b/drivers/firmware/efi/libstub/efi-stub-helper.c
index 01680b11d46d..739454d8063a 100644
--- a/drivers/firmware/efi/libstub/efi-stub-helper.c
+++ b/drivers/firmware/efi/libstub/efi-stub-helper.c
@@ -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: