Skip to content

Commit

Permalink
mm/cma.c: fix a typo ("alloc_cma" -> "cma_alloc") in cma_release() co…
Browse files Browse the repository at this point in the history
…mments

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]>
  • Loading branch information
ryhszk authored and torvalds committed Jul 17, 2019
1 parent a07057d commit 929f92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/cma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 929f92f

Please sign in to comment.