aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyohei Suzuki <[email protected]>2019-07-16 16:26:00 -0700
committerLinus Torvalds <[email protected]>2019-07-16 19:23:21 -0700
commit929f92f78068a18ffa38ea7af3faad7fceca529c (patch)
tree774b7593c499484c07b53dfab7b7ecd29b958b6d
parenta07057dce2823e10d64a2b73cefbf09d8645efe9 (diff)
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/[email protected] Signed-off-by: Ryohei Suzuki <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/cma.c2
1 files changed, 1 insertions, 1 deletions
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.
*/