Skip to content

Commit aa0e784

Browse files
Yang Liardbiesheuvel
authored andcommitted
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>
1 parent 2f77465 commit aa0e784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/firmware/efi/libstub/alignedmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* @max: the address that the last allocated memory page shall not
1515
* exceed
1616
* @align: minimum alignment of the base of the allocation
17+
* @memory_type: the type of memory to allocate
1718
*
1819
* Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according
1920
* to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will

0 commit comments

Comments
 (0)