Skip to content

Commit 766a96d

Browse files
AlanSterngregkh
authored andcommitted
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. Fixes: 9c6d778 ("USB: core: Prevent nested device-reset calls") Cc: <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Reviewed-by: Bagas Sanjaya <[email protected]> Signed-off-by: Alan Stern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7e18e42 commit 766a96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/core/hub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6039,7 +6039,7 @@ static int usb_reset_and_verify_device(struct usb_device *udev)
60396039
*
60406040
* Return: The same as for usb_reset_and_verify_device().
60416041
* However, if a reset is already in progress (for instance, if a
6042-
* driver doesn't have pre_ or post_reset() callbacks, and while
6042+
* driver doesn't have pre_reset() or post_reset() callbacks, and while
60436043
* being unbound or re-bound during the ongoing reset its disconnect()
60446044
* or probe() routine tries to perform a second, nested reset), the
60456045
* routine returns -EINPROGRESS.

0 commit comments

Comments
 (0)