提交 db01ea88 编写于 作者: L Liu Zixian 提交者: Ard Biesheuvel

efi: Correct comment on efi_memmap_alloc

Returning zero means success now.
Signed-off-by: NLiu Zixian <liuzixian4@huawei.com>
Signed-off-by: NArd Biesheuvel <ardb@kernel.org>
上级 902c2d91
...@@ -59,8 +59,7 @@ static void __init efi_memmap_free(void) ...@@ -59,8 +59,7 @@ static void __init efi_memmap_free(void)
* Depending on whether mm_init() has already been invoked or not, * Depending on whether mm_init() has already been invoked or not,
* either memblock or "normal" page allocation is used. * either memblock or "normal" page allocation is used.
* *
* Returns the physical address of the allocated memory map on * Returns zero on success, a negative error code on failure.
* success, zero on failure.
*/ */
int __init efi_memmap_alloc(unsigned int num_entries, int __init efi_memmap_alloc(unsigned int num_entries,
struct efi_memory_map_data *data) struct efi_memory_map_data *data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册