]> git.baikalelectronics.ru Git - kernel.git/commit
dma-coherent: clarify dma_mmap_from_dev_coherent documentation
authorRobin Murphy <robin.murphy@arm.com>
Mon, 9 Apr 2018 17:59:14 +0000 (18:59 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 23 Apr 2018 12:44:17 +0000 (14:44 +0200)
commitb8e7d5b633c56b0355dc395ee52cb539f5f445a5
treef7a699753b6d55048306fea72b6c84af0628cbe6
parent5581c179ccd8e265257ed6cc94cfd46743214347
dma-coherent: clarify dma_mmap_from_dev_coherent documentation

The use of "correctly mapped" here is misleading, since it can give the
wrong expectation in the case that the memory *should* have been mapped
from the per-device pool, but doing so failed for other reasons.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/base/dma-coherent.c