Documentation: PCI: Point the pci_device_id kernel-doc at device-id/pci.h
Subsystems (2)
PATCH 1/1 Documentation: PCI: Point the pci_device_id kernel-doc at device-id/pci.h
pci.rst pulls the description of struct pci_device_id from include/linux/mod_devicetable.h. Commit ad428f5811bd ("mod_devicetable.h: Split into per subsystem headers") moved the structure and its kernel-doc comment to include/linux/device-id/pci.h. Since then the directive finds nothing and the rendered page no longer shows the structure.
Point the directive at the new header.
--- Documentation/PCI/pci.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/PCI/pci.rst +1 -1
@@ -84,7 +84,7 @@ initialization with a pointer to a structure describing the driver The ID table is an array of ``struct pci_device_id`` entries ending with an all-zero entry. Definitions with static const are generally preferred. -.. kernel-doc:: include/linux/mod_devicetable.h +.. kernel-doc:: include/linux/device-id/pci.h :functions: pci_device_id Most drivers only need ``PCI_DEVICE()`` or ``PCI_DEVICE_CLASS()`` to set up
Signature · 1 line
2.53.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 7 lines
pci.rstpulls the description of structpci_device_idfrominclude/linux/mod_devicetable.h. Commitad428f5811bd("mod_devicetable.h: Split into per subsystem headers") moved the structure and its kernel-doc comment toinclude/linux/device-id/pci.h. Since then the directive finds nothing and the rendered page no longer shows the structure.
Quoted 5 lines
Point the directive at the new header.
Fixes ad428f5811bd ("mod_devicetable.h: Split into per subsystem headers")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Hello Karl,
Quoted 21 lines · Karl Mehltretter
pci.rstpulls the description of structpci_device_idfrominclude/linux/mod_devicetable.h. Commitad428f5811bd("mod_devicetable.h: Split into per subsystem headers") moved the structure and its kernel-doc comment toinclude/linux/device-id/pci.h. Since then the directive finds nothing and the rendered page no longer shows the structure.Point the directive at the new header.
Fixes ad428f5811bd ("mod_devicetable.h: Split into per subsystem headers")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- Documentation/PCI/pci.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/PCI/pci.rst +0
-0
Documentation/PCI/pci.rst initialization with a pointer to a structure describing the driver · line 90
Quoted 8 lines
Documentation/PCI/pci.rst +1
-1@@ -84,7 +84,7 @@ initialization with a pointer to a structure describing the driver The ID table is an array of ``struct pci_device_id`` entries ending with an all-zero entry. Definitions with static const are generally preferred. -.. kernel-doc:: include/linux/mod_devicetable.h +.. kernel-doc:: include/linux/device-id/pci.h :functions: pci_device_id Most drivers only need ``PCI_DEVICE()`` or ``PCI_DEVICE_CLASS()`` to set up
there is prior art that can be found at
https://lore.kernel.org/all/ede7ce64f20e10660ebf6bc1b41836dad750ae3b.1783349758.git.ukleinek@kernel.org/.
My patch is more complete, but I didn't respin yet to address Randy's feedback and so it wasn't picked up yet.
If you want to take over caring for this patch that would be very welcome, there are too many open threads in my mailbox and I'm happy to be able to close that one.
Best regards
Uwe
Quoted 9 lines · Uwe Kleine-König
there is prior art that can be found at
https://lore.kernel.org/all/ede7ce64f20e10660ebf6bc1b41836dad750ae3b.1783349758.git.ukleinek@kernel.org/.
My patch is more complete, but I didn't respin yet to address Randy's feedback and so it wasn't picked up yet.If you want to take over caring for this patch that would be very welcome, there are too many open threads in my mailbox and I'm happy to be able to close that one.
Thanks, I did not find yours when I looked. I will take it over and send it as v3 with Randy's file nit applied and your authorship kept.
This patch is then superseded, please consider it withdrawn.
Karl