Skip to content

Commit c8e1927

Browse files
Hans Zhangardbiesheuvel
authored andcommitted
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: f4dc7ff ("efi: libstub: unify initrd loading between architectures") Signed-off-by: Hans Zhang <18255117159@163.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
1 parent e1288f1 commit c8e1927

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/firmware/efi/libstub/efi-stub-helper.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@ efi_status_t efi_load_initrd_cmdline(efi_loaded_image_t *image,
601601
* @image: EFI loaded image protocol
602602
* @soft_limit: preferred address for loading the initrd
603603
* @hard_limit: upper limit address for loading the initrd
604+
* @out: pointer to store the address of the initrd table
604605
*
605606
* Return: status code
606607
*/

0 commit comments

Comments
 (0)