diff mbox series

efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment

Message ID 20221108025310.1393687-1-zhangjialin11@huawei.com
State Accepted
Commit d981a88c1669aa350f06db142860564e4330ed0c
Headers show
Series efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment | expand

Commit Message

Jialin Zhang Nov. 8, 2022, 2:53 a.m. UTC
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.

Fixes: f4dc7fffa987 ("efi: libstub: unify initrd loading between architectures")
Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com>
---
 drivers/firmware/efi/libstub/efi-stub-helper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/firmware/efi/libstub/efi-stub-helper.c b/drivers/firmware/efi/libstub/efi-stub-helper.c
index 0c493521b25b..1a42dedcce3c 100644
--- a/drivers/firmware/efi/libstub/efi-stub-helper.c
+++ b/drivers/firmware/efi/libstub/efi-stub-helper.c
@@ -626,8 +626,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: