summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-01-19 11:06:35 +0100
committerArd Biesheuvel <ardb@kernel.org>2024-01-30 21:44:21 +0100
commitaa0e784dea7c1a026aabff9db1cb5d2bd92b3e92 (patch)
tree25a4d42e906778e198818e14570ad62bb635d177 /drivers/firmware
parentx86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR (diff)
downloadlinux-aa0e784dea7c1a026aabff9db1cb5d2bd92b3e92.tar.xz
linux-aa0e784dea7c1a026aabff9db1cb5d2bd92b3e92.zip
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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/efi/libstub/alignedmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/alignedmem.c b/drivers/firmware/efi/libstub/alignedmem.c
index 6b83c492c3b8..31928bd87e0f 100644
--- a/drivers/firmware/efi/libstub/alignedmem.c
+++ b/drivers/firmware/efi/libstub/alignedmem.c
@@ -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