[PATCH] mm/cma: Fix a typo ("alloc_cma" -> "cma_alloc") in cma_release() comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A comment referred to a non-existent function alloc_cma(),
which should have been cma_alloc().

Signed-off-by: Ryohei Suzuki <ryh.szk.cmnty@xxxxxxxxx>
---
 mm/cma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
  */
-- 
2.17.2




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux