Skip to contentSkip to conversation

docs: kernel-doc: fix stale intel_audio.c path in examples

PATCH Superseded Kit Dallege 2 participants 2 messages Mar 15

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 docs: kernel-doc: fix stale intel_audio.c path in examples

intel_audio.c was moved from drivers/gpu/drm/i915/ to drivers/gpu/drm/i915/display/. Update the example paths in the kernel-doc guide and its Chinese and Italian translations.

Assisted-by Claude <[email protected]>
---
 Documentation/doc-guide/kernel-doc.rst                    | 4 ++--
 Documentation/translations/it_IT/doc-guide/kernel-doc.rst | 4 ++--
 Documentation/translations/zh_CN/doc-guide/kernel-doc.rst | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
Documentation/doc-guide/kernel-doc.rst +2 -2
index 8d2c09fb36e4..8b579b06ba33 100644
@@ -550,7 +550,7 @@ internal: *[source-pattern ...]*
 
   Example::
 
-    .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
+    .. kernel-doc:: drivers/gpu/drm/i915/display/intel_audio.c
        :internal:
 
 identifiers: *[ function/type ...]*
@@ -588,7 +588,7 @@ doc: *title*
 
   Example::
 
-    .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
+    .. kernel-doc:: drivers/gpu/drm/i915/display/intel_audio.c
        :doc: High Definition Audio over HDMI and Display Port
 
 Without options, the kernel-doc directive includes all documentation comments
Documentation/translations/it_IT/doc-guide/kernel-doc.rst +2 -2
index bac959b8b7b9..cd8bb579d5a2 100644
@@ -558,7 +558,7 @@ internal: *[source-pattern ...]*
 
   Esempio::
 
-    .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
+    .. kernel-doc:: drivers/gpu/drm/i915/display/intel_audio.c
        :internal:
 
 identifiers: *[ function/type ...]*
@@ -587,7 +587,7 @@ doc: *title*
 
   Esempio::
 
-    .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
+    .. kernel-doc:: drivers/gpu/drm/i915/display/intel_audio.c
        :doc: High Definition Audio over HDMI and Display Port
 
 Senza alcuna opzione, la direttiva kernel-doc include tutti i commenti di
Documentation/translations/zh_CN/doc-guide/kernel-doc.rst +2 -2
index fb2bbaaa85c1..b35f2582cd96 100644
@@ -434,7 +434,7 @@ internal: *[source-pattern ...]*
 
   例子::
 
-    .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
+    .. kernel-doc:: drivers/gpu/drm/i915/display/intel_audio.c
        :internal:
 
 identifiers: *[ function/type ...]*
@@ -467,7 +467,7 @@ doc: *title*
 
   例子::
 
-    .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
+    .. kernel-doc:: drivers/gpu/drm/i915/display/intel_audio.c
        :doc: High Definition Audio over HDMI and Display Port
 
 如果没有选项,kernel-doc指令将包含源文件中的所有文档注释。
Signature · 1 line
2.53.0
reviewer
#1 lore raw
Quoted 5 lines · Kit Dallege

intel_audio.c was moved from drivers/gpu/drm/i915/ to drivers/gpu/drm/i915/display/. Update the example paths in the kernel-doc guide and its Chinese and Italian translations.

Assisted-by Claude <[email protected]>

All 3 patches in this series use an incorrect Assisted-by: format. Documentation/process/coding-assistants.rst says:

Assisted-by AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]

Where:

* ``AGENT_NAME`` is the name of the AI tool or framework
* ``MODEL_VERSION`` is the specific model version used
* ``[TOOL1] [TOOL2]`` are optional specialized analysis tools used (e.g., coccinelle, sparse, smatch, clang-tidy)

Quoted 6 lines
---
 Documentation/doc-guide/kernel-doc.rst                    | 4 ++--
 Documentation/translations/it_IT/doc-guide/kernel-doc.rst | 4 ++--
 Documentation/translations/zh_CN/doc-guide/kernel-doc.rst | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
~Randy