linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the drm-misc tree
@ 2020-12-09 10:02 Stephen Rothwell
  2020-12-09 16:10 ` Luben Tuikov
  2020-12-09 21:58 ` [PATCH] drm/sched: Add missing structure comment Luben Tuikov
  0 siblings, 2 replies; 7+ messages in thread
From: Stephen Rothwell @ 2020-12-09 10:02 UTC (permalink / raw)
  To: Daniel Vetter, Intel Graphics, DRI
  Cc: Christian König, Luben Tuikov, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

Hi all,

After merging the drm-misc tree, today's linux-next build (htmldocs)
produced this warning:

include/drm/gpu_scheduler.h:201: warning: Function parameter or member 'list' not described in 'drm_sched_job'

Introduced by commit

  8935ff00e3b1 ("drm/scheduler: "node" --> "list"")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux-next: build warning after merge of the drm-misc tree
  2020-12-09 10:02 linux-next: build warning after merge of the drm-misc tree Stephen Rothwell
@ 2020-12-09 16:10 ` Luben Tuikov
  2020-12-09 21:58 ` [PATCH] drm/sched: Add missing structure comment Luben Tuikov
  1 sibling, 0 replies; 7+ messages in thread
From: Luben Tuikov @ 2020-12-09 16:10 UTC (permalink / raw)
  To: Stephen Rothwell, Daniel Vetter, Intel Graphics, DRI
  Cc: Christian König, Linux Kernel Mailing List, Linux Next Mailing List

On 2020-12-09 05:02, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the drm-misc tree, today's linux-next build (htmldocs)
> produced this warning:
> 
> include/drm/gpu_scheduler.h:201: warning: Function parameter or member 'list' not described in 'drm_sched_job'
> 
> Introduced by commit
> 
>   8935ff00e3b1 ("drm/scheduler: "node" --> "list"")
> 

Thanks for the notification.

I'll send out a patch to fix this.

Regards,
Luben

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] drm/sched: Add missing structure comment
  2020-12-09 10:02 linux-next: build warning after merge of the drm-misc tree Stephen Rothwell
  2020-12-09 16:10 ` Luben Tuikov
@ 2020-12-09 21:58 ` Luben Tuikov
  2020-12-09 22:24   ` Stephen Rothwell
  1 sibling, 1 reply; 7+ messages in thread
From: Luben Tuikov @ 2020-12-09 21:58 UTC (permalink / raw)
  To: dri-devel, Intel Graphics, Linux Kernel Mailing List,
	Linux Next Mailing List
  Cc: Luben Tuikov, Stephen Rothwell, Daniel Vetter, Christian König

Add a missing structure comment for the recently
added @list member.

Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>

Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Christian König <christian.koenig@amd.com>
---
 include/drm/gpu_scheduler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h
index 2e0c368e19f6..975e8a67947f 100644
--- a/include/drm/gpu_scheduler.h
+++ b/include/drm/gpu_scheduler.h
@@ -171,10 +171,10 @@ struct drm_sched_fence *to_drm_sched_fence(struct dma_fence *f);
  * struct drm_sched_job - A job to be run by an entity.
  *
  * @queue_node: used to append this struct to the queue of jobs in an entity.
+ * @list: a job participates in a "pending" and "done" lists.
  * @sched: the scheduler instance on which this job is scheduled.
  * @s_fence: contains the fences for the scheduling of job.
  * @finish_cb: the callback for the finished fence.
- * @node: used to append this struct to the @drm_gpu_scheduler.pending_list.
  * @id: a unique id assigned to each job scheduled on the scheduler.
  * @karma: increment on every hang caused by this job. If this exceeds the hang
  *         limit of the scheduler then the job is marked guilty and will not
-- 
2.29.2.404.ge67fbf927d


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/sched: Add missing structure comment
  2020-12-09 21:58 ` [PATCH] drm/sched: Add missing structure comment Luben Tuikov
@ 2020-12-09 22:24   ` Stephen Rothwell
  2020-12-09 22:28     ` Luben Tuikov
  2020-12-09 22:31     ` Luben Tuikov
  0 siblings, 2 replies; 7+ messages in thread
From: Stephen Rothwell @ 2020-12-09 22:24 UTC (permalink / raw)
  To: Luben Tuikov
  Cc: dri-devel, Intel Graphics, Linux Kernel Mailing List,
	Linux Next Mailing List, Daniel Vetter, Christian König

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Hi Luben,

On Wed,  9 Dec 2020 16:58:07 -0500 Luben Tuikov <luben.tuikov@amd.com> wrote:
>
> Add a missing structure comment for the recently
> added @list member.
> 
> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
> 
> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Cc: Christian König <christian.koenig@amd.com>

The commit message tags should all be together at the end of the commit
message (probably with your SoB last).  Also:

Fixes:  8935ff00e3b1 ("drm/scheduler: "node" --> "list"")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>

Thanks
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/sched: Add missing structure comment
  2020-12-09 22:24   ` Stephen Rothwell
@ 2020-12-09 22:28     ` Luben Tuikov
  2020-12-09 22:31     ` Luben Tuikov
  1 sibling, 0 replies; 7+ messages in thread
From: Luben Tuikov @ 2020-12-09 22:28 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: dri-devel, Intel Graphics, Linux Kernel Mailing List,
	Linux Next Mailing List, Daniel Vetter, Christian König

On 2020-12-09 5:24 p.m., Stephen Rothwell wrote:
> Hi Luben,
> 
> On Wed,  9 Dec 2020 16:58:07 -0500 Luben Tuikov <luben.tuikov@amd.com> wrote:
>>
>> Add a missing structure comment for the recently
>> added @list member.
>>
>> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
>>
>> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
>> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
>> Cc: Christian König <christian.koenig@amd.com>
> 
> The commit message tags should all be together at the end of the commit
> message (probably with your SoB last).  Also:
> 
> Fixes:  8935ff00e3b1 ("drm/scheduler: "node" --> "list"")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>

Right! I was just looking into this as the empty
line up there didn't look good.

I'll resubmit.

Regards,
Luben

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] drm/sched: Add missing structure comment
  2020-12-09 22:24   ` Stephen Rothwell
  2020-12-09 22:28     ` Luben Tuikov
@ 2020-12-09 22:31     ` Luben Tuikov
  2020-12-10 12:24       ` Christian König
  1 sibling, 1 reply; 7+ messages in thread
From: Luben Tuikov @ 2020-12-09 22:31 UTC (permalink / raw)
  To: dri-devel, Intel Graphics, Linux Kernel Mailing List,
	Linux Next Mailing List
  Cc: Luben Tuikov, Stephen Rothwell, Daniel Vetter, Christian König

Add a missing structure comment for the recently
added @list member.

Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Christian König <christian.koenig@amd.com>
Fixes:  8935ff00e3b1 ("drm/scheduler: "node" --> "list"")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
---
 include/drm/gpu_scheduler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h
index 2e0c368e19f6..975e8a67947f 100644
--- a/include/drm/gpu_scheduler.h
+++ b/include/drm/gpu_scheduler.h
@@ -171,10 +171,10 @@ struct drm_sched_fence *to_drm_sched_fence(struct dma_fence *f);
  * struct drm_sched_job - A job to be run by an entity.
  *
  * @queue_node: used to append this struct to the queue of jobs in an entity.
+ * @list: a job participates in a "pending" and "done" lists.
  * @sched: the scheduler instance on which this job is scheduled.
  * @s_fence: contains the fences for the scheduling of job.
  * @finish_cb: the callback for the finished fence.
- * @node: used to append this struct to the @drm_gpu_scheduler.pending_list.
  * @id: a unique id assigned to each job scheduled on the scheduler.
  * @karma: increment on every hang caused by this job. If this exceeds the hang
  *         limit of the scheduler then the job is marked guilty and will not
-- 
2.29.2.404.ge67fbf927d


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/sched: Add missing structure comment
  2020-12-09 22:31     ` Luben Tuikov
@ 2020-12-10 12:24       ` Christian König
  0 siblings, 0 replies; 7+ messages in thread
From: Christian König @ 2020-12-10 12:24 UTC (permalink / raw)
  To: Luben Tuikov, dri-devel, Intel Graphics,
	Linux Kernel Mailing List, Linux Next Mailing List
  Cc: Stephen Rothwell, Daniel Vetter

Am 09.12.20 um 23:31 schrieb Luben Tuikov:
> Add a missing structure comment for the recently
> added @list member.
>
> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Cc: Christian König <christian.koenig@amd.com>
> Fixes:  8935ff00e3b1 ("drm/scheduler: "node" --> "list"")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>

Reviewed and pushed to drm-misc-next.

Thanks,
Christian.

> ---
>   include/drm/gpu_scheduler.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h
> index 2e0c368e19f6..975e8a67947f 100644
> --- a/include/drm/gpu_scheduler.h
> +++ b/include/drm/gpu_scheduler.h
> @@ -171,10 +171,10 @@ struct drm_sched_fence *to_drm_sched_fence(struct dma_fence *f);
>    * struct drm_sched_job - A job to be run by an entity.
>    *
>    * @queue_node: used to append this struct to the queue of jobs in an entity.
> + * @list: a job participates in a "pending" and "done" lists.
>    * @sched: the scheduler instance on which this job is scheduled.
>    * @s_fence: contains the fences for the scheduling of job.
>    * @finish_cb: the callback for the finished fence.
> - * @node: used to append this struct to the @drm_gpu_scheduler.pending_list.
>    * @id: a unique id assigned to each job scheduled on the scheduler.
>    * @karma: increment on every hang caused by this job. If this exceeds the hang
>    *         limit of the scheduler then the job is marked guilty and will not


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-10 12:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-09 10:02 linux-next: build warning after merge of the drm-misc tree Stephen Rothwell
2020-12-09 16:10 ` Luben Tuikov
2020-12-09 21:58 ` [PATCH] drm/sched: Add missing structure comment Luben Tuikov
2020-12-09 22:24   ` Stephen Rothwell
2020-12-09 22:28     ` Luben Tuikov
2020-12-09 22:31     ` Luben Tuikov
2020-12-10 12:24       ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).