I found an errataum at drivers/base/dma-contiguous.c:294
RFC 1/1 I found an errataum at drivers/base/dma-contiguous.c:294
This is not a big deal but I think get_dev_cma_area is errataum of dev_get_cma_area.
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,
Quoted 2 lines · Gioh Kim
This is not a big deal but I think
get_dev_cma_areais errataum ofdev_get_cma_area.
Looks good, but you may want to read Documentation/SubmittingPatches when proposing patches.
Thanks your advice.
I'll send a patch soon.
2014-05-22 오전 11:54, David Rientjes 쓴 글:
Quoted 8 lines · Gioh Kim
Quoted 3 lines
This is not a big deal but I think
get_dev_cma_areais errataum ofdev_get_cma_area.Looks good, but you may want to read
Documentation/SubmittingPatcheswhen proposing patches.