diff mbox series

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

Message ID 1599638225-39300-1-git-send-email-tiantao6@hisilicon.com
State Accepted
Commit 05f59762bcbfb3b943da3416fa2bc5ea7fdb662b
Headers show
Series drm/scheduler: fix sched_fence.c kernel-doc warnings | expand

Commit Message

Tian Tao Sept. 9, 2020, 7:57 a.m. UTC
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@hisilicon.com>
---
 drivers/gpu/drm/scheduler/sched_fence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christian König Sept. 9, 2020, 9:11 a.m. UTC | #1
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@hisilicon.com>

Reviewed-by: Christian König <christian.koenig@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.
Alex Deucher Sept. 15, 2020, 7:02 p.m. UTC | #2
Applied.  Thanks!

Alex

On Wed, Sep 9, 2020 at 5:11 AM Christian König <christian.koenig@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@hisilicon.com>
>
> Reviewed-by: Christian König <christian.koenig@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

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.