From: Randy Dunlap Date: Tue, 7 Apr 2026 04:36:48 +0000 (-0700) Subject: dma-fence: correct kernel-doc function parameter @flags X-Git-Tag: v7.1-rc1~167^2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=408df6213f56f467675dc0ecf156a8bd1984555e;p=thirdparty%2Fkernel%2Flinux.git 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: 3e5067931b5d ("dma-buf: abstract fence locking v2") Signed-off-by: Randy Dunlap Link: https://lore.kernel.org/r/20260407043649.2015894-1-rdunlap@infradead.org Reviewed-by: Christian König Signed-off-by: Christian König --- diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h index 3dc93f068bf61..b52ab692b22e8 100644 --- a/include/linux/dma-fence.h +++ b/include/linux/dma-fence.h @@ -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)