* [PATCH] dma-fence: correct kernel-doc function parameter @flags
@ 2026-04-07 4:36 Randy Dunlap
2026-04-07 7:59 ` Christian König
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-04-07 4:36 UTC (permalink / raw)
To: dri-devel; +Cc: Randy Dunlap, Christian König, Sumit Semwal, linux-media
'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>
---
Cc: Christian König <christian.koenig@amd.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: linux-media@vger.kernel.org
include/linux/dma-fence.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20260406.orig/include/linux/dma-fence.h
+++ linux-next-20260406/include/linux/dma-fence.h
@@ -408,9 +408,9 @@ static inline spinlock_t *dma_fence_spin
/**
* 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)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] dma-fence: correct kernel-doc function parameter @flags
2026-04-07 4:36 [PATCH] dma-fence: correct kernel-doc function parameter @flags Randy Dunlap
@ 2026-04-07 7:59 ` Christian König
0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2026-04-07 7:59 UTC (permalink / raw)
To: Randy Dunlap, dri-devel; +Cc: Sumit Semwal, linux-media
On 4/7/26 06:36, Randy Dunlap wrote:
> '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>
Reviewed-by: Christian König <christian.koenig@amd.com>
Going to push it later today.
> ---
> Cc: Christian König <christian.koenig@amd.com>
> Cc: Sumit Semwal <sumit.semwal@linaro.org>
> Cc: linux-media@vger.kernel.org
>
> include/linux/dma-fence.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- linux-next-20260406.orig/include/linux/dma-fence.h
> +++ linux-next-20260406/include/linux/dma-fence.h
> @@ -408,9 +408,9 @@ static inline spinlock_t *dma_fence_spin
> /**
> * 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-07 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07 4:36 [PATCH] dma-fence: correct kernel-doc function parameter @flags Randy Dunlap
2026-04-07 7:59 ` Christian König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox