Commit 929f92f7 authored by Ryohei Suzuki's avatar Ryohei Suzuki Committed by Linus Torvalds

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.comSigned-off-by: default avatarRyohei Suzuki <ryh.szk.cmnty@gmail.com>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a07057dc
...@@ -494,7 +494,7 @@ struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align, ...@@ -494,7 +494,7 @@ struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align,
* @pages: Allocated pages. * @pages: Allocated pages.
* @count: Number of 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 * It returns false when provided pages do not belong to contiguous area and
* true otherwise. * true otherwise.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment