usb: Restore the reference to ch9.h
Subsystems (3)
PATCH 1/1 usb: Restore the reference to ch9.h
Keep the textual reference to ch9.h as it was prior to commit caa93d9bd2d7 ("usb: Fix up movement of USB core kerneldoc location").
As ch9.h does not have any comments anymore, just remove the kernel-doc entries entirely.
---
This one applies against usb-next.
Documentation/driver-api/usb/usb.rst | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-)
Documentation/driver-api/usb/usb.rst +4 -10
@@ -109,16 +109,10 @@ well as to make sure they aren't relying on some HCD-specific behavior. USB-Standard Types ================== -In ``drivers/usb/common/common.c`` and ``drivers/usb/common/debug.c`` you -will find the USB data types defined in chapter 9 of the USB specification. -These data types are used throughout USB, and in APIs including this host -side API, gadget APIs, usb character devices and debugfs interfaces. - -.. kernel-doc:: drivers/usb/common/common.c - :export: - -.. kernel-doc:: drivers/usb/common/debug.c - :export: +In ``<linux/usb/ch9.h>`` you will find the USB data types defined in +chapter 9 of the USB specification. These data types are used throughout +USB, and in APIs including this host side API, gadget APIs, usb character +devices and debugfs interfaces. Host-Side Data Types and Macros ===============================
Signature · 1 line
2.25.1
Quoted 27 lines · Fabio Estevam
Keep the textual reference to
ch9.has it was prior to commitcaa93d9bd2d7("usb: Fix up movement of USB core kerneldoc location").As
ch9.hdoes not have any comments anymore, just remove the kernel-doc entries entirely.Fixes caa93d9bd2d7 ("usb: Fix up movement of USB core kerneldoc location")Reported-by Alan Stern <[email protected]>Signed-off-by Fabio Estevam <[email protected]>---
This one applies against usb-next.Documentation/driver-api/usb/usb.rst | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-)Documentation/driver-api/usb/usb.rst +0
-4@@ -109,16 +109,10 @@ well as to make sure they aren't relying on some HCD-specific behavior. USB-Standard Types ================== -In ``drivers/usb/common/common.c`` and ``drivers/usb/common/debug.c`` you -will find the USB data types defined in chapter 9 of the USB specification. -These data types are used throughout USB, and in APIs including this host -side API, gadget APIs, usb character devices and debugfs interfaces.
Documentation/driver-api/usb/usb.rst well as to make sure they aren't relying on some HCD-specific behavior. · line 115
Quoted 10 lines
Documentation/driver-api/usb/usb.rst +4
-6- -.. kernel-doc:: drivers/usb/common/common.c - :export: - -.. kernel-doc:: drivers/usb/common/debug.c - :export: +In ``<linux/usb/ch9.h>`` you will find the USB data types defined in +chapter 9 of the USB specification. These data types are used throughout +USB, and in APIs including this host side API, gadget APIs, usb character +devices and debugfs interfaces.
I don't understand why you aren't giving a full description of the situation here. You should say something more like this (edit to your taste):
In ``<uapi/linux/usb/ch9.h>`` you will find the USB data types defined in chapter 9 of the USB specification. These data types are used throughout USB, and in APIs including this host side API, gadget APIs, usb character devices and debugfs interfaces. That file is itself #include'd by ``<linux/usb/ch9.h>``, which also contains declarations of a few utility routines for manipulating these data types; the implementations are in ``drivers/usb/common/common.c``.
.. kernel-doc:: drivers/usb/common/common.c
:export:
In addition, some functions useful for creating debugging output are defined in ``drivers/usb/common/debug.c``.
Alan Stern