]> 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)
commitdb784b2f24740c01f4bda9a3176b506c8ebb88ae
treef7a699753b6d55048306fea72b6c84af0628cbe6
parent81f106e17eb6046575338800c8e3f528a8e37bee
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