* [PATCH v2] drm/scheduler: fix kernel-doc warning for drm_sched_job_done()
@ 2026-02-27 6:10 Yujie Liu
2026-02-27 8:55 ` Yujie Liu
0 siblings, 1 reply; 2+ messages in thread
From: Yujie Liu @ 2026-02-27 6:10 UTC (permalink / raw)
To: Christian König, Alex Deucher, amd-gfx
Cc: Luben Tuikov, dri-devel, linux-kernel
Warning: drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done'
Fixes: 539f9ee4b52a ("drm/scheduler: properly forward fence errors")
Signed-off-by: Yujie Liu <yujie.liu@intel.com>
---
Changes in v2:
- Split from the original patch set
https://lore.kernel.org/all/20260226030038.1182961-1-yujie.liu@intel.com/
- Rebase onto latest drm-tip
drivers/gpu/drm/scheduler/sched_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c
index e6ee35406165..fe4c1017734b 100644
--- a/drivers/gpu/drm/scheduler/sched_main.c
+++ b/drivers/gpu/drm/scheduler/sched_main.c
@@ -361,6 +361,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched)
/**
* drm_sched_job_done - complete a job
* @s_job: pointer to the job which is done
+ * @result: 0 on success; -errno on failure
*
* Finish the job's fence and resubmit the work items.
*/
base-commit: 1abdcb654ffbb08bbc96a9806fee60ef65fdad77
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drm/scheduler: fix kernel-doc warning for drm_sched_job_done()
2026-02-27 6:10 [PATCH v2] drm/scheduler: fix kernel-doc warning for drm_sched_job_done() Yujie Liu
@ 2026-02-27 8:55 ` Yujie Liu
0 siblings, 0 replies; 2+ messages in thread
From: Yujie Liu @ 2026-02-27 8:55 UTC (permalink / raw)
To: Christian König, Alex Deucher, amd-gfx
Cc: Luben Tuikov, dri-devel, linux-kernel
Sorry, please ignore this and see the updated v3 at [1].
[1] https://patchwork.freedesktop.org/patch/msgid/20260227082452.1802922-1-yujie.liu@intel.com
On Fri, Feb 27, 2026 at 02:10:52PM +0800, Yujie Liu wrote:
> Warning: drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done'
>
> Fixes: 539f9ee4b52a ("drm/scheduler: properly forward fence errors")
> Signed-off-by: Yujie Liu <yujie.liu@intel.com>
> ---
> Changes in v2:
> - Split from the original patch set
> https://lore.kernel.org/all/20260226030038.1182961-1-yujie.liu@intel.com/
> - Rebase onto latest drm-tip
>
> drivers/gpu/drm/scheduler/sched_main.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c
> index e6ee35406165..fe4c1017734b 100644
> --- a/drivers/gpu/drm/scheduler/sched_main.c
> +++ b/drivers/gpu/drm/scheduler/sched_main.c
> @@ -361,6 +361,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched)
> /**
> * drm_sched_job_done - complete a job
> * @s_job: pointer to the job which is done
> + * @result: 0 on success; -errno on failure
> *
> * Finish the job's fence and resubmit the work items.
> */
>
> base-commit: 1abdcb654ffbb08bbc96a9806fee60ef65fdad77
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-27 8:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27 6:10 [PATCH v2] drm/scheduler: fix kernel-doc warning for drm_sched_job_done() Yujie Liu
2026-02-27 8:55 ` Yujie Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox