Re: [PATCH] drm/panthor: Fix kernel-doc in panthor_sched.c so it's visible
From: Steven Price
Date: Wed Apr 08 2026 - 10:14:46 EST
On 08/04/2026 10:12, Steven Price wrote:
> Various substructures defined in panthor_sched.c have kernel-doc which
> is silently ignored because it doesn't include the full path to the
> member. Fix these issues so that the kernel-doc text is actually output
> by including the name of the parent.
>
> Fixes: de8548813824 ("drm/panthor: Add the scheduler logical block")
> Signed-off-by: Steven Price <steven.price@xxxxxxx>
> ---
> drivers/gpu/drm/panthor/panthor_sched.c | 72 ++++++++++++-------------
> 1 file changed, 36 insertions(+), 36 deletions(-)
>
> diff --git a/drivers/gpu/drm/panthor/panthor_sched.c b/drivers/gpu/drm/panthor/panthor_sched.c
> index 3bb1cb5a2656..b255354553df 100644
> --- a/drivers/gpu/drm/panthor/panthor_sched.c
> +++ b/drivers/gpu/drm/panthor/panthor_sched.c
[...]
> @@ -416,26 +416,26 @@ struct panthor_queue {
> * queue is waiting on.
> */
> struct {
> - /** @gpu_va: GPU address of the synchronization object. */
> + /** @syncwait.gpu_va: GPU address of the synchronization object. */
> u64 gpu_va;
>
> - /** @ref: Reference value to compare against. */
> + /** @syncwait.ref: Reference value to compare against. */
> u64 ref;
>
> - /** @gt: True if this is a greater-than test. */
> + /** @syncwait.gt: True if this is a greater-than test. */
> bool gt;
>
> - /** @sync64: True if this is a 64-bit sync object. */
> + /** @synwait.sync64: True if this is a 64-bit sync object. */
> bool sync64;
Sashiko spotted[1]:
> This isn't a bug, but there is a typo here (synwait instead of syncwait).
> Will this cause the kernel-doc script to miss this member and generate a
> warning?
I'm not sure how it thinks it "isn't a bug" (in a patch about fixing the
comments), and indeed it will be missing from the output. I'll fix this
up and push to drm-misc-next.
Thanks,
Steve
[1]
https://sashiko.dev/#/patchset/20260408091242.799074-1-steven.price%40arm.com