Commit aa0e784d authored by Yang Li's avatar Yang Li Committed by Ard Biesheuvel
Browse files

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: default avatarYang Li <yang.lee@linux.alibaba.com>
[ardb: tweak comment]
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 2f77465b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
 * @max:	the address that the last allocated memory page shall not
 *		exceed
 * @align:	minimum alignment of the base of the allocation
 * @memory_type: the type of memory to allocate
 *
 * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according
 * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will