mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
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>
This commit is contained in:
parent
2f77465b05
commit
aa0e784dea
@ -14,6 +14,7 @@
|
|||||||
* @max: the address that the last allocated memory page shall not
|
* @max: the address that the last allocated memory page shall not
|
||||||
* exceed
|
* exceed
|
||||||
* @align: minimum alignment of the base of the allocation
|
* @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
|
* 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
|
* to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will
|
||||||
|
Loading…
Reference in New Issue
Block a user