Commit c8e1927e authored by Hans Zhang's avatar Hans Zhang Committed by Ard Biesheuvel
Browse files

efi/libstub: Describe missing 'out' parameter in efi_load_initrd



The function efi_load_initrd() had a documentation warning due to
the missing description for the 'out' parameter. Add the parameter
description to the kernel-doc comment to resolve the warning and
improve API documentation.

Fixes the following compiler warning:
drivers/firmware/efi/libstub/efi-stub-helper.c:611: warning: Function parameter or struct member 'out' not described in 'efi_load_initrd'

Fixes: f4dc7fff ("efi: libstub: unify initrd loading between architectures")
Signed-off-by: default avatarHans Zhang <18255117159@163.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent e1288f1d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -601,6 +601,7 @@ efi_status_t efi_load_initrd_cmdline(efi_loaded_image_t *image,
 * @image:	EFI loaded image protocol
 * @soft_limit:	preferred address for loading the initrd
 * @hard_limit:	upper limit address for loading the initrd
 * @out:	pointer to store the address of the initrd table
 *
 * Return:	status code
 */