From: Ryohei Suzuki Date: Tue, 16 Jul 2019 23:26:00 +0000 (-0700) Subject: mm/cma.c: fix a typo ("alloc_cma" -> "cma_alloc") in cma_release() comments X-Git-Tag: v5.3-rc1~65^2~95 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=929f92f78068a18ffa38ea7af3faad7fceca529c;p=linux.git mm/cma.c: fix a typo ("alloc_cma" -> "cma_alloc") in cma_release() comments A comment referred to a non-existent function alloc_cma(), which should have been cma_alloc(). Link: http://lkml.kernel.org/r/20190712085549.5920-1-ryh.szk.cmnty@gmail.com Signed-off-by: Ryohei Suzuki Reviewed-by: Andrew Morton Cc: Joonsoo Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/cma.c b/mm/cma.c index 3340ef34c154..d415dfc0965e 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -494,7 +494,7 @@ struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align, * @pages: Allocated pages. * @count: Number of allocated pages. * - * This function releases memory allocated by alloc_cma(). + * This function releases memory allocated by cma_alloc(). * It returns false when provided pages do not belong to contiguous area and * true otherwise. */