mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 04:21:09 -04:00
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: 3e5067931b ("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>
This commit is contained in:
committed by
Christian König
parent
cb2a2a5b37
commit
408df6213f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user