Commit 408df621 authored by Randy Dunlap's avatar Randy Dunlap Committed by Christian König
Browse files

dma-fence: correct kernel-doc function parameter @flags



'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: 3e506793 ("dma-buf: abstract fence locking v2")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20260407043649.2015894-1-rdunlap@infradead.org


Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
parent cb2a2a5b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)