iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: DMA-API: fix a function name of max_mapping_size
@ 2019-06-07  7:47 Yoshihiro Shimoda
  2019-06-07  8:08 ` Christoph Hellwig
  2019-06-07 17:10 ` Jonathan Corbet
  0 siblings, 2 replies; 6+ messages in thread
From: Yoshihiro Shimoda @ 2019-06-07  7:47 UTC (permalink / raw)
  To: corbet; +Cc: jroedel, linux-doc, iommu, hch

The exported function name is dma_max_mapping_size(), not
dma_direct_max_mapping_size() so that this patch fixes
the function name in the documentation.

Fixes: 133d624b1cee ("dma: Introduce dma_max_mapping_size()")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
 Documentation/DMA-API.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt
index 0076150..e47c63b 100644
--- a/Documentation/DMA-API.txt
+++ b/Documentation/DMA-API.txt
@@ -198,7 +198,7 @@ call to set the mask to the value returned.
 ::
 
 	size_t
-	dma_direct_max_mapping_size(struct device *dev);
+	dma_max_mapping_size(struct device *dev);
 
 Returns the maximum size of a mapping for the device. The size parameter
 of the mapping functions like dma_map_single(), dma_map_page() and
-- 
2.7.4

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-07 17:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-07  7:47 [PATCH] Documentation: DMA-API: fix a function name of max_mapping_size Yoshihiro Shimoda
2019-06-07  8:08 ` Christoph Hellwig
2019-06-07  8:19   ` Yoshihiro Shimoda
2019-06-07  8:34     ` Christoph Hellwig
2019-06-07 12:04       ` Yoshihiro Shimoda
2019-06-07 17:10 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).