diff mbox series

dma-buf: Fix kerneldoc comment for struct dma_fence_array

Message ID 20190116153436.3b244cda@lwn.net
State Accepted
Commit 3725cd0957615f26aef9557f72a327a75ca9a150
Headers show
Series dma-buf: Fix kerneldoc comment for struct dma_fence_array | expand

Commit Message

Jonathan Corbet Jan. 16, 2019, 10:34 p.m. UTC
The kerneldoc comment for struct dma_fence_array lacks a description
of the "work" member, leading to this docs-build warning:

  ./include/linux/dma-fence-array.h:54: warning: Function parameter or member 'work' not described in 'dma_fence_array'

Add a description and make the warning go away.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>

---
Hopefully I've sent this to the right place; perhaps this file needs to be
added to the MAINTAINERS entry?

 include/linux/dma-fence-array.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1
diff mbox series

Patch

diff --git a/include/linux/dma-fence-array.h b/include/linux/dma-fence-array.h
index bc8940ca280d..c0ff417b4770 100644
--- a/include/linux/dma-fence-array.h
+++ b/include/linux/dma-fence-array.h
@@ -40,6 +40,7 @@  struct dma_fence_array_cb {
  * @num_fences: number of fences in the array
  * @num_pending: fences in the array still pending
  * @fences: array of the fences
+ * @work: internal irq_work function
  */
 struct dma_fence_array {
 	struct dma_fence base;