Skip to contentSkip to conversation

drivers/base/dma-contiguous.c: erratum of dev_get_cma_area

PATCH In review Gioh Kim 2 participants 2 messages May 22, 2014 Driver core

lore
Share & tools
lore

Gioh Kim

author
#0 lore raw

PATCH 1/1 drivers/base/dma-contiguous.c: erratum of dev_get_cma_area

fix erratum get_dev_cma_area into dev_get_cma_area

---
 drivers/base/dma-contiguous.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/dma-contiguous.c +1 -1
index b056661..6343f25 100644
@@ -291,7 +291,7 @@ err:
  *
  * This function allocates memory buffer for specified device. It uses
  * device specific contiguous memory area if available or the default
- * global one. Requires architecture specific get_dev_cma_area() helper
+ * global one. Requires architecture specific dev_get_cma_area() helper
  * function.
  */
 struct page *dma_alloc_from_contiguous(struct device *dev, int count,
Signature · 1 line
1.7.9.5
#1 lore raw

Hello,

Quoted 12 lines · Gioh Kim

fix erratum get_dev_cma_area into dev_get_cma_area

---
  drivers/base/dma-contiguous.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/dma-contiguous.c +0 -0
index b056661..6343f25 100644

drivers/base/dma-contiguous.c err: · line 297

Quoted 8 lines
drivers/base/dma-contiguous.c +1 -1
@@ -291,7 +291,7 @@ err:
   *
   * This function allocates memory buffer for specified device. It uses
   * device specific contiguous memory area if available or the default
- * global one. Requires architecture specific get_dev_cma_area() helper
+ * global one. Requires architecture specific dev_get_cma_area() helper
   * function.
   */
  struct page *dma_alloc_from_contiguous(struct device *dev, int count,

Thanks for this small fix. I've applied it to my tree.

Best regards

Signature · 2 lines
Marek Szyprowski, PhD
Samsung R&D Institute Poland