[PATCH] drm/scheduler: fix sched_fence.c kernel-doc warnings

Alex Deucher alexdeucher at gmail.com
Tue Sep 15 19:02:07 UTC 2020


Applied.  Thanks!

Alex

On Wed, Sep 9, 2020 at 5:11 AM Christian König <christian.koenig at amd.com> wrote:
>
> Am 09.09.20 um 09:57 schrieb Tian Tao:
> > Fix kernel-doc warnings.
> > drivers/gpu/drm/scheduler/sched_fence.c:110: warning: Function parameter or
> > member 'f' not described in 'drm_sched_fence_release_scheduled'
> > drivers/gpu/drm/scheduler/sched_fence.c:110: warning: Excess function
> > parameter 'fence' description in 'drm_sched_fence_release_scheduled'
> >
> > Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
>
> Reviewed-by: Christian König <christian.koenig at amd.com>
>
> > ---
> >   drivers/gpu/drm/scheduler/sched_fence.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/scheduler/sched_fence.c b/drivers/gpu/drm/scheduler/sched_fence.c
> > index 8b45c3a1b84..69de2c7 100644
> > --- a/drivers/gpu/drm/scheduler/sched_fence.c
> > +++ b/drivers/gpu/drm/scheduler/sched_fence.c
> > @@ -101,7 +101,7 @@ static void drm_sched_fence_free(struct rcu_head *rcu)
> >   /**
> >    * drm_sched_fence_release_scheduled - callback that fence can be freed
> >    *
> > - * @fence: fence
> > + * @f: fence
> >    *
> >    * This function is called when the reference count becomes zero.
> >    * It just RCU schedules freeing up the fence.
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list