Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 9c6d778800b9 ("USB: core: Prevent nested device-reset calls")
Cc: <stable@vger.kernel.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/YxDDcsLtRZ7c20pq@rowland.harvard.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alan Stern and committed by
Greg Kroah-Hartman
766a96dc 7e18e42e

+1 -1
+1 -1
drivers/usb/core/hub.c
··· 6039 6039 * 6040 6040 * Return: The same as for usb_reset_and_verify_device(). 6041 6041 * 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 6043 6043 * being unbound or re-bound during the ongoing reset its disconnect() 6044 6044 * or probe() routine tries to perform a second, nested reset), the 6045 6045 * routine returns -EINPROGRESS.