Skip to contentSkip to conversation

linux-next: build warnings after merge of the drm tree

DISCUSSION Stephen Rothwell 3 participants 9 messages Jun 3, 2021 – Aug 10, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the drm tree, today's linux-next build (htmldocs) produced these warnings:

Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484. Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'. Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7. Declaration is '.. c:struct:: drm_i915_memory_region_info'. Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531. Declaration is '.. c:struct:: drm_i915_query_memory_regions'. Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.

Introduced by (one or more of) commits

0c1a77cbdafb ("drm/doc: add section for driver uAPI") 2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI") 727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 17 lines · On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced these warnings:

Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484. Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'. Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7. Declaration is '.. c:struct:: drm_i915_memory_region_info'. Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531. Declaration is '.. c:struct:: drm_i915_query_memory_regions'. Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.

Quoted 5 lines

Introduced by (one or more of) commits

0c1a77cbdafb ("drm/doc: add section for driver uAPI") 2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI") 727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")

I am still getting these warning.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

Hi all,

Quoted 19 lines · On Thu, 8 Jul 2021 12:20:48 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 17 lines · On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced these warnings:

Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484. Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'. Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7. Declaration is '.. c:struct:: drm_i915_memory_region_info'. Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531. Declaration is '.. c:struct:: drm_i915_query_memory_regions'. Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.

Quoted 7 lines
Quoted 5 lines

Introduced by (one or more of) commits

0c1a77cbdafb ("drm/doc: add section for driver uAPI") 2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI") 727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")

I am still getting these warning.

Still getting them ...

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 24 lines · Stephen Rothwell

Hi all,

Quoted 21 lines · On Thu, 8 Jul 2021 12:20:48 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 19 lines · On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the drm tree, today's linux-next build (htmldocs) produced these warnings:

Documentation/gpu/driver-uapi.rst:2412: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:enum:: drm_i915_gem_memory_class'.
Documentation/gpu/driver-uapi.rst:2484: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2484. Declaration is '.. c:struct:: drm_i915_gem_memory_class_instance'. Documentation/gpu/driver-uapi.rst:7: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:7. Declaration is '.. c:struct:: drm_i915_memory_region_info'. Documentation/gpu/driver-uapi.rst:2531: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:2531. Declaration is '.. c:struct:: drm_i915_query_memory_regions'. Documentation/gpu/driver-uapi.rst:2595: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext'.
Documentation/gpu/driver-uapi.rst:2615: WARNING: Duplicate C declaration, also defined at gpu/rfc/i915_gem_lmem:1393. Declaration is '.. c:struct:: drm_i915_gem_create_ext_memory_regions'.

Introduced by (one or more of) commits

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

0c1a77cbdafb ("drm/doc: add section for driver uAPI") 2bc9c04ea702 ("drm/doc/rfc: i915 DG1 uAPI") 727ecd99a4c9 ("drm/doc/rfc: drop the i915_gem_lmem.h header")

I am still getting these warning.

Still getting them ...

Matt Auld is on vacation, and the other issue is that the tree where this is from isn't in linux-next. So will take a bit to get sorted in linux-next.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
#4 lore raw

Hi Daniel,

Quoted 4 lines · On Tue, 10 Aug 2021 12:14:38 +0200 Daniel Vetter <[email protected]> wrote:

Matt Auld is on vacation, and the other issue is that the tree where this is from isn't in linux-next. So will take a bit to get sorted in linux-next.

Those warnings are now coming from Linus' tree (some time before v5.14-rc1). I first mentioned them on June 3.

Signature · 2 lines
Cheers,
Stephen Rothwell
#5 lore raw
Quoted 10 lines · Stephen Rothwell

Hi Daniel,

Quoted 4 lines · On Tue, 10 Aug 2021 12:14:38 +0200 Daniel Vetter <[email protected]> wrote:

Matt Auld is on vacation, and the other issue is that the tree where this is from isn't in linux-next. So will take a bit to get sorted in linux-next.

Those warnings are now coming from Linus' tree (some time before v5.14-rc1). I first mentioned them on June 3.

Uh that's not good, I missed that. I'll look into it. -Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
#6 lore raw

Hi Daniel,

Quoted 2 lines · On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter <[email protected]> wrote:

Uh that's not good, I missed that. I'll look into it.

Thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell
#7 lore raw
Quoted 7 lines · Stephen Rothwell

Hi Daniel,

Quoted 2 lines · On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter <[email protected]> wrote:

Uh that's not good, I missed that. I'll look into it.

Thanks.

Doc build is taking absolutely forever here, but I think I have the right patch for you. t-b/ack would be great if you can give it a spin, I cc'ed you.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
#8 lore raw

Hi Daniel,

Quoted 6 lines · On Tue, 10 Aug 2021 14:39:17 +0200 Daniel Vetter <[email protected]> wrote:
Quoted 4 lines · Stephen Rothwell

Hi Daniel,

Quoted 1 line · On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter <[email protected]> wrote:
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Uh that's not good, I missed that. I'll look into it.

Thanks.

Doc build is taking absolutely forever here, but I think I have the right patch for you. t-b/ack would be great if you can give it a spin, I cc'ed you.

Tested-by Stephen Rothwell <[email protected]>

Thanks. And, yes, the doc build takes quite some time :-(

Signature · 2 lines
Cheers,
Stephen Rothwell