]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dma-fence: correct kernel-doc function parameter @flags
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 7 Apr 2026 04:36:48 +0000 (21:36 -0700)
committerChristian König <christian.koenig@amd.com>
Wed, 8 Apr 2026 13:27:47 +0000 (15:27 +0200)
'make htmldocs' complains that dma_fence_unlock_irqrestore() is missing
a description of its @flags parameter. The description is there but it is
missing a ':' sign. Add that and correct the possessive form of "its".

WARNING: ../include/linux/dma-fence.h:414 function parameter 'flags' not described in 'dma_fence_unlock_irqrestore'

Fixes: 3e5067931b5d ("dma-buf: abstract fence locking v2")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20260407043649.2015894-1-rdunlap@infradead.org
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
include/linux/dma-fence.h

index 3dc93f068bf616656e174310d353d4326295d6a7..b52ab692b22e8616f252e8815c75464d517f6e84 100644 (file)
@@ -408,9 +408,9 @@ static inline spinlock_t *dma_fence_spinlock(struct dma_fence *fence)
 /**
  * dma_fence_unlock_irqrestore - unlock the fence and irqrestore
  * @fence: the fence to unlock
- * @flags the CPU flags to restore
+ * @flags: the CPU flags to restore
  *
- * Unlock the fence, allowing it to change it's state to signaled again.
+ * Unlock the fence, allowing it to change its state to signaled again.
  */
 #define dma_fence_unlock_irqrestore(fence, flags)      \
        spin_unlock_irqrestore(dma_fence_spinlock(fence), flags)