summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGal Pressman <galpress@amazon.com>2021-10-12 15:09:01 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-10-27 11:28:20 -0300
commit5460601de590158b37619f8e18b678aa18da6345 (patch)
tree635df9eb6113361f463f50a8fef96fdd2335c3d2
parente058953c0ed18b5d2e125edec1cb6a258aa52446 (diff)
downloadlinux-5460601de590158b37619f8e18b678aa18da6345.tar.gz
linux-5460601de590158b37619f8e18b678aa18da6345.tar.bz2
linux-5460601de590158b37619f8e18b678aa18da6345.zip
dma-buf: Fix pin callback comment
The pin callback does not necessarily have to move the memory to system memory, remove the sentence from the comment. Link: https://lore.kernel.org/r/20211012120903.96933-2-galpress@amazon.com Signed-off-by: Gal Pressman <galpress@amazon.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
-rw-r--r--include/linux/dma-buf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
index 8b32b4bdd590..8afe182fe8f2 100644
--- a/include/linux/dma-buf.h
+++ b/include/linux/dma-buf.h
@@ -86,8 +86,8 @@ struct dma_buf_ops {
* @pin:
*
* This is called by dma_buf_pin() and lets the exporter know that the
- * DMA-buf can't be moved any more. The exporter should pin the buffer
- * into system memory to make sure it is generally accessible by other
+ * DMA-buf can't be moved any more. Ideally, the exporter should
+ * pin the buffer so that it is generally accessible by all
* devices.
*
* This is called with the &dmabuf.resv object locked and is mutual