From: Miaoqian Lin Date: Fri, 16 Dec 2022 10:03:03 +0000 (+0400) Subject: memblock: Fix doc for memblock_phys_free X-Git-Tag: v6.6.7~3731^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa81ab49bbe4e1ce756581c970486de0ddb14309;p=platform%2Fkernel%2Flinux-starfive.git 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 Link: https://lore.kernel.org/r/20221216100304.688209-1-linmq006@gmail.com Signed-off-by: Mike Rapoport (IBM) --- diff --git a/mm/memblock.c b/mm/memblock.c index 511d478..d036c78 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)