Skip to contentSkip to conversation

docs: nouveau: remove invalid kernel-doc reference to r535.c

PATCH In review HyeonSu Jeon 2 participants 2 messages Jun 16, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: nouveau: remove invalid kernel-doc reference to r535.c

The file drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c does not exist in the tree, but is referenced in gsp.rst via a kernel-doc directive. This causes an error during the documentation build

Removing this refernce resolves the error

---
 Documentation/gpu/nouveau.rst | 3 ---
 1 file changed, 3 deletions(-)
Documentation/gpu/nouveau.rst +0 -3
index b8c801e0068c..cab4a8eda850 100644
@@ -25,8 +25,5 @@ providing a consistent API to upper layers of the driver stack.
 GSP Support
 ------------------------
 
-.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
-   :doc: GSP message queue element
-
 .. kernel-doc:: drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
    :doc: GSP message handling policy
Signature · 1 line
2.34.1
reviewer
#1 lore raw

Hi,

Quoted 7 lines · HyeonSu Jeon

The file drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c does not exist in the tree, but is referenced in gsp.rst via a kernel-doc directive. This causes an error during the documentation build

Removing this refernce resolves the error

Thanks for your patch.
A previous patch has already been applied to drm-misc-fixes:

https://lore.kernel.org/linux-doc/[email protected]/

Quoted 17 lines
---
 Documentation/gpu/nouveau.rst | 3 ---
 1 file changed, 3 deletions(-)
Documentation/gpu/nouveau.rst +0 -3
index b8c801e0068c..cab4a8eda850 100644
@@ -25,8 +25,5 @@ providing a consistent API to upper layers of the driver stack.
 GSP Support
 ------------------------
 
-.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
-   :doc: GSP message queue element
-
 .. kernel-doc:: drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
    :doc: GSP message handling policy
Signature · 1 line
~Randy