]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
efi/libstub: Describe missing 'out' parameter in efi_load_initrd
authorHans Zhang <18255117159@163.com>
Tue, 6 May 2025 16:31:11 +0000 (00:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:10 +0000 (11:07 +0100)
commit54a6bd6bfe31a2b9bc3087656aafefc18f00e048
tree2ef9859d5f321ad6eb93a2ae15c08f3528e1c990
parent52562161df3567cdaedada46834a7a8d8c4ab737
efi/libstub: Describe missing 'out' parameter in efi_load_initrd

[ Upstream commit c8e1927e7f7d63721e32ec41d27ccb0eb1a1b0fc ]

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: f4dc7fffa987 ("efi: libstub: unify initrd loading between architectures")
Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/efi/libstub/efi-stub-helper.c