Commit 3d1ff9df authored by Ramesh Errabolu's avatar Ramesh Errabolu Committed by Christian König

dma-buf: Correct the documentation of name and exp_name symbols

Fix the documentation of struct dma_buf members name and exp_name
as to how these members are to be used and accessed.
Signed-off-by: default avatarRamesh Errabolu <Ramesh.Errabolu@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231122160556.24948-1-Ramesh.Errabolu@amd.comSigned-off-by: default avatarChristian König <christian.koenig@amd.com>
parent 55b0f4a7
...@@ -343,16 +343,19 @@ struct dma_buf { ...@@ -343,16 +343,19 @@ struct dma_buf {
/** /**
* @exp_name: * @exp_name:
* *
* Name of the exporter; useful for debugging. See the * Name of the exporter; useful for debugging. Must not be NULL
* DMA_BUF_SET_NAME IOCTL.
*/ */
const char *exp_name; const char *exp_name;
/** /**
* @name: * @name:
* *
* Userspace-provided name; useful for accounting and debugging, * Userspace-provided name. Default value is NULL. If not NULL,
* protected by dma_resv_lock() on @resv and @name_lock for read access. * length cannot be longer than DMA_BUF_NAME_LEN, including NIL
* char. Useful for accounting and debugging. Read/Write accesses
* are protected by @name_lock
*
* See the IOCTLs DMA_BUF_SET_NAME or DMA_BUF_SET_NAME_A/B
*/ */
const char *name; const char *name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment