Commit 61ded108 authored by Yujie Liu's avatar Yujie Liu Committed by Philipp Stanner
Browse files

drm/sched: Fix kernel-doc warning for drm_sched_job_done()



There is a kernel-doc warning for the scheduler:

Warning: drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done'

Fix the warning by describing the undocumented error code.

Fixes: 539f9ee4 ("drm/scheduler: properly forward fence errors")
Signed-off-by: default avatarYujie Liu <yujie.liu@intel.com>
[phasta: Flesh out commit message]
Signed-off-by: default avatarPhilipp Stanner <phasta@kernel.org>
Link: https://patch.msgid.link/20260227082452.1802922-1-yujie.liu@intel.com
parent a116bac8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 error
 *
 * Finish the job's fence and resubmit the work items.
 */