Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

efi/libstub: Add one kernel-doc comment

Add the description of @memory_type to silence the warning:
drivers/firmware/efi/libstub/alignedmem.c:27: warning: Function parameter or struct member 'memory_type' not described in 'efi_allocate_pages_aligned'

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
[ardb: tweak comment]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

authored by

Yang Li and committed by
Ard Biesheuvel
aa0e784d 2f77465b

+1
+1
drivers/firmware/efi/libstub/alignedmem.c
··· 14 14 * @max: the address that the last allocated memory page shall not 15 15 * exceed 16 16 * @align: minimum alignment of the base of the allocation 17 + * @memory_type: the type of memory to allocate 17 18 * 18 19 * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according 19 20 * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will