All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment
@ 2022-11-08  2:53 Jialin Zhang
  2022-11-09  9:16 ` Ard Biesheuvel
  0 siblings, 1 reply; 2+ messages in thread
From: Jialin Zhang @ 2022-11-08  2:53 UTC (permalink / raw)
  To: ardb, ilias.apalodimas; +Cc: linux-efi

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 --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:
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment
  2022-11-08  2:53 [PATCH] efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment Jialin Zhang
@ 2022-11-09  9:16 ` Ard Biesheuvel
  0 siblings, 0 replies; 2+ messages in thread
From: Ard Biesheuvel @ 2022-11-09  9:16 UTC (permalink / raw)
  To: Jialin Zhang; +Cc: ilias.apalodimas, linux-efi

On Tue, 8 Nov 2022 at 03:54, Jialin Zhang <zhangjialin11@huawei.com> wrote:
>
> 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>

Thanks, queued up in efi/next

> ---
>  drivers/firmware/efi/libstub/efi-stub-helper.c | 4 ++--
>  1 file 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 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:
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-09  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-08  2:53 [PATCH] efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment Jialin Zhang
2022-11-09  9:16 ` Ard Biesheuvel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.