Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 1/2] drm/doc: fix duplicate declaration warning
@ 2023-06-21 12:31 Jani Nikula
  2023-06-21 12:31 ` [Intel-gfx] [PATCH 2/2] drm/i915: fix Sphinx indentation warning Jani Nikula
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Jani Nikula @ 2023-06-21 12:31 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

We have duplicate kernel-doc directives for the same struct, leading to:

/home/jani/src/linux/Documentation/gpu/driver-uapi.rst:2279: WARNING: Duplicate C declaration, also defined at rfc/i915_scheduler:3.
Declaration is '.. c:struct:: i915_context_engines_parallel_submit'.

Use the Sphinx C domain namespace for the rfc document to fix this.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 Documentation/gpu/rfc/i915_scheduler.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/gpu/rfc/i915_scheduler.rst b/Documentation/gpu/rfc/i915_scheduler.rst
index d630f15ab795..ec086e7a43ff 100644
--- a/Documentation/gpu/rfc/i915_scheduler.rst
+++ b/Documentation/gpu/rfc/i915_scheduler.rst
@@ -135,9 +135,13 @@ Add I915_CONTEXT_ENGINES_EXT_PARALLEL_SUBMIT and
 drm_i915_context_engines_parallel_submit to the uAPI to implement this
 extension.
 
+.. c:namespace-push:: rfc
+
 .. kernel-doc:: include/uapi/drm/i915_drm.h
         :functions: i915_context_engines_parallel_submit
 
+.. c:namespace-pop::
+
 Extend execbuf2 IOCTL to support submitting N BBs in a single IOCTL
 -------------------------------------------------------------------
 Contexts that have been configured with the 'set_parallel' extension can only
-- 
2.39.2


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

end of thread, other threads:[~2023-06-26 17:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21 12:31 [Intel-gfx] [PATCH 1/2] drm/doc: fix duplicate declaration warning Jani Nikula
2023-06-21 12:31 ` [Intel-gfx] [PATCH 2/2] drm/i915: fix Sphinx indentation warning Jani Nikula
2023-06-26 12:05   ` Luca Coelho
2023-06-21 21:13 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/doc: fix duplicate declaration warning Patchwork
2023-06-21 21:31 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-06-26  9:24 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/doc: fix duplicate declaration warning (rev2) Patchwork
2023-06-26  9:35 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-06-26 12:05 ` [Intel-gfx] [PATCH 1/2] drm/doc: fix duplicate declaration warning Luca Coelho
2023-06-26 17:18   ` Jani Nikula
2023-06-26 16:02 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/doc: fix duplicate declaration warning (rev2) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox