From patchwork Thu Sep 1 14:36:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Stern X-Patchwork-Id: 12962776 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCED3ECAAD1 for ; Thu, 1 Sep 2022 14:37:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234952AbiIAOhr (ORCPT ); Thu, 1 Sep 2022 10:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233362AbiIAOha (ORCPT ); Thu, 1 Sep 2022 10:37:30 -0400 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 15CFC80B4E for ; Thu, 1 Sep 2022 07:37:11 -0700 (PDT) Received: (qmail 235714 invoked by uid 1000); 1 Sep 2022 10:36:34 -0400 Date: Thu, 1 Sep 2022 10:36:34 -0400 From: Alan Stern To: Greg KH , Stephen Rothwell Cc: USB mailing list , Linux Kernel Mailing List , Linux Next Mailing List Subject: [PATCH] USB: core: Fix RST error in hub.c Message-ID: References: <20220831152458.56059e42@canb.auug.org.au> <20220901075048.7b281231@canb.auug.org.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220901075048.7b281231@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org A recent commit added an invalid RST expression to a kerneldoc comment in hub.c. The fix is trivial. Reported-by: Stephen Rothwell Signed-off-by: Alan Stern Fixes: 9c6d778800b9 ("USB: core: Prevent nested device-reset calls") Cc: Reviewed-by: Bagas Sanjaya --- [as1987] drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: usb-devel/drivers/usb/core/hub.c =================================================================== --- usb-devel.orig/drivers/usb/core/hub.c +++ usb-devel/drivers/usb/core/hub.c @@ -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.