Skip to content

Commit 6f49c25

Browse files
rddunlapsumitsemwal
authored andcommitted
dma-buf: fix documentation build warnings
Fix documentation warnings in dma-buf.[hc]: ../drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_ops' not described in 'dma_buf_dynamic_attach' ../drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_priv' not described in 'dma_buf_dynamic_attach' ../include/linux/dma-buf.h:339: warning: Incorrect use of kernel-doc format: * @move_notify Signed-off-by: Randy Dunlap <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Sumit Semwal <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 933db73 commit 6f49c25

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

drivers/dma-buf/dma-buf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ EXPORT_SYMBOL_GPL(dma_buf_put);
656656
* calls attach() of dma_buf_ops to allow device-specific attach functionality
657657
* @dmabuf: [in] buffer to attach device to.
658658
* @dev: [in] device to be attached.
659-
* @importer_ops [in] importer operations for the attachment
660-
* @importer_priv [in] importer private pointer for the attachment
659+
* @importer_ops: [in] importer operations for the attachment
660+
* @importer_priv: [in] importer private pointer for the attachment
661661
*
662662
* Returns struct dma_buf_attachment pointer for this attachment. Attachments
663663
* must be cleaned up by calling dma_buf_detach().

include/linux/dma-buf.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,12 @@ struct dma_buf {
329329

330330
/**
331331
* struct dma_buf_attach_ops - importer operations for an attachment
332-
* @move_notify: [optional] notification that the DMA-buf is moving
333332
*
334333
* Attachment operations implemented by the importer.
335334
*/
336335
struct dma_buf_attach_ops {
337336
/**
338-
* @move_notify
337+
* @move_notify: [optional] notification that the DMA-buf is moving
339338
*
340339
* If this callback is provided the framework can avoid pinning the
341340
* backing store while mappings exists.

0 commit comments

Comments
 (0)