diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-12-16 14:03:03 +0400 |
---|---|---|
committer | Mike Rapoport (IBM) <rppt@kernel.org> | 2023-01-04 12:31:22 +0200 |
commit | fa81ab49bbe4e1ce756581c970486de0ddb14309 (patch) | |
tree | 74f7180b7b3229c731b313d61b688eb15ad32d7e /mm/memblock.c | |
parent | 340726747336716350eb5a928b860a29db955f05 (diff) | |
download | lwn-fa81ab49bbe4e1ce756581c970486de0ddb14309.tar.gz lwn-fa81ab49bbe4e1ce756581c970486de0ddb14309.zip |
memblock: Fix doc for memblock_phys_free
memblock_phys_free() is the counterpart to memblock_phys_alloc.
Change memblock_alloc_xx() with memblock_phys_alloc_xx() to keep
consistency.
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20221216100304.688209-1-linmq006@gmail.com
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'mm/memblock.c')
-rw-r--r-- | mm/memblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memblock.c b/mm/memblock.c index 511d4783dcf1..d036c7861310 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -836,7 +836,7 @@ void __init_memblock memblock_free(void *ptr, size_t size) * @base: phys starting address of the boot memory block * @size: size of the boot memory block in bytes * - * Free boot memory block previously allocated by memblock_alloc_xx() API. + * Free boot memory block previously allocated by memblock_phys_alloc_xx() API. * The freeing memory will not be released to the buddy allocator. */ int __init_memblock memblock_phys_free(phys_addr_t base, phys_addr_t size) |