diff options
author | Ryohei Suzuki <ryh.szk.cmnty@gmail.com> | 2019-07-16 19:26:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-16 22:23:21 -0400 |
commit | 929f92f78068a18ffa38ea7af3faad7fceca529c (patch) | |
tree | 774b7593c499484c07b53dfab7b7ecd29b958b6d | |
parent | a07057dce2823e10d64a2b73cefbf09d8645efe9 (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/20190712085549.5920-1-ryh.szk.cmnty@gmail.com
Signed-off-by: Ryohei Suzuki <ryh.szk.cmnty@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/cma.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -494,7 +494,7 @@ struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align, | |||
494 | * @pages: Allocated pages. | 494 | * @pages: Allocated pages. |
495 | * @count: Number of allocated pages. | 495 | * @count: Number of allocated pages. |
496 | * | 496 | * |
497 | * This function releases memory allocated by alloc_cma(). | 497 | * This function releases memory allocated by cma_alloc(). |
498 | * It returns false when provided pages do not belong to contiguous area and | 498 | * It returns false when provided pages do not belong to contiguous area and |
499 | * true otherwise. | 499 | * true otherwise. |
500 | */ | 500 | */ |