Skip to content

Commit 408df62

Browse files
rddunlapChristianKoenigAMD
authored andcommitted
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: 3e50679 ("dma-buf: abstract fence locking v2") Signed-off-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Christian König <[email protected]> Signed-off-by: Christian König <[email protected]>
1 parent cb2a2a5 commit 408df62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/dma-fence.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ static inline spinlock_t *dma_fence_spinlock(struct dma_fence *fence)
408408
/**
409409
* dma_fence_unlock_irqrestore - unlock the fence and irqrestore
410410
* @fence: the fence to unlock
411-
* @flags the CPU flags to restore
411+
* @flags: the CPU flags to restore
412412
*
413-
* Unlock the fence, allowing it to change it's state to signaled again.
413+
* Unlock the fence, allowing it to change its state to signaled again.
414414
*/
415415
#define dma_fence_unlock_irqrestore(fence, flags) \
416416
spin_unlock_irqrestore(dma_fence_spinlock(fence), flags)

0 commit comments

Comments
 (0)