linux-next: build warning after merge of the usb.current tree
Subsystems (2)
Hi all,
After merging the usb.current tree, today's linux-next build (htmldocs) produced this warning:
Documentation/driver-api/usb/usb:176: /home/sfr/next/next/drivers/usb/core/hub.c:6040: WARNING: Unknown target name: "pre".
Introduced by commit
9c6d778800b9 ("USB: core: Prevent nested device-reset calls")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 10 lines · Stephen Rothwell
Hi all,
After merging the usb.current tree, today's linux-next build (htmldocs) produced this warning:
Documentation/driver-api/usb/usb:176:/home/sfr/next/next/drivers/usb/core/hub.c:6040: WARNING: Unknown target name: "pre".Introduced by commit
9c6d778800b9("USB: core: Prevent nested device-reset calls")
I don't fully understand this bug report. Would it be fixed by changing "pre_" to "pre_reset()" in the kerneldoc?
Alan Stern
Hi Alan,
Quoted 6 lines · On Wed, 31 Aug 2022 10:25:37 -0400 Alan Stern <[email protected]> wrote:
Quoted 4 lines · Stephen Rothwell
After merging the usb.current tree, today's linux-next build (htmldocs) produced this warning:
Quoted 8 lines
Quoted 5 lines
Documentation/driver-api/usb/usb:176:/home/sfr/next/next/drivers/usb/core/hub.c:6040: WARNING: Unknown target name: "pre".Introduced by commit
9c6d778800b9("USB: core: Prevent nested device-reset calls")I don't fully understand this bug report. Would it be fixed by changing "
pre_" to "pre_reset()" in the kerneldoc?
I would presume so.
Signature · 2 lines
Cheers, Stephen Rothwell
PATCH 1/1 USB: core: Fix RST error in hub.c
A recent commit added an invalid RST expression to a kerneldoc comment in hub.c. The fix is trivial.
---
[as1987]
drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/core/hub.c +1 -1
@@ -6039,7 +6039,7 @@ re_enumerate:* * Return: The same as for usb_reset_and_verify_device(). * However, if a reset is already in progress (for instance, if a -* driver doesn't have pre_ or post_reset() callbacks, and while +* driver doesn't have pre_reset() or post_reset() callbacks, and while * being unbound or re-bound during the ongoing reset its disconnect() * or probe() routine tries to perform a second, nested reset), the * routine returns -EINPROGRESS.
Re: [PATCH] USB: core: Fix RST error in hub.c
Quoted 3 lines · Alan Stern
A recent commit added an invalid RST expression to a kerneldoc comment in
hub.c. The fix is trivial.
htmldocs warning at that file successfully fixed, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara