Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp800366rwb; Mon, 26 Sep 2022 06:07:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5FuGFPNEpqVnQ0xOCm/Igji7UryW8vd3BPwd1ZyRsByPcFXy9x0dzvYLyHHZuNnrfIA5M1 X-Received: by 2002:a17:907:b09:b0:76f:99cc:81cd with SMTP id h9-20020a1709070b0900b0076f99cc81cdmr17234725ejl.530.1664197643619; Mon, 26 Sep 2022 06:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664197643; cv=none; d=google.com; s=arc-20160816; b=zX6Uq1sKloAHRjVdYzhvIByCbPikN8biFC1OdHBgWL/EfrRwFo9FxLaZp4aFwDftV4 thAtGgjACOUP3Mcwt0LfZCr8hIB4KLiqVJeKmYNQS0PvdHBJflZTNUp3W/5nCDfYFBAi sRJ7iYv1NEZQRuUzpH3/OwXfaAzq1vuKfU8pK7+r+aLmlrqt/cUznvL3fFBd/d50y6Om UCuhFQkQRtUmWNcGWxvYSc0+/V6SYx6aBNdBGk+6YKp9MX0f222XdDK0EAuLq+zpI5WP zYdqdBBEsVHJaDDzW3U/WxHJdFnywwtwYCJuO/u+4nv6RVwg1/mAzkh2Fbwh8l6w3NCS U4mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WI5gNv4Tj8XVgFrAyNRIK356Nuh1hpJPaXQLehtqg7k=; b=JJgjQWuzDNqmwyNw6QBGKQA3dVHfXQCSvDQkt7fGb34OeNpNi2GEk4fOOJFOmMQT9O dslz6HPS3psrAm2K/EezMUZkaMcprq6bzbwGfDRMpxXA1x0PijFGcyk3UjRTPEz934EF B07iWDeWjO1Pyd7WXLIMWz6S/7A9BvZJrxNLOFO6UZWasGVCjts7k3LABsblBcH4y+na JGOg+W9u6Ocih1vRCQvtVojewqGdEDJ88cWDJgLi+ulQ/mhXzRmcSy96rC9kpzwkIRaD K6c7l8AjMTV4nixb7LhowwnbrIrmY49YLhSSoxl0aLtAaI+X2ua+1wPaW8KYd3BfCA1+ zeDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uTGXNT68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a05640212d000b00457596e4babsi1630814edx.310.2022.09.26.06.06.57; Mon, 26 Sep 2022 06:07:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uTGXNT68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235561AbiIZK2L (ORCPT + 99 others); Mon, 26 Sep 2022 06:28:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235752AbiIZKY6 (ORCPT ); Mon, 26 Sep 2022 06:24:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D92DA4DB27; Mon, 26 Sep 2022 03:18:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DF2FFB80835; Mon, 26 Sep 2022 10:18:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 499D3C433D6; Mon, 26 Sep 2022 10:18:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664187491; bh=QkgGLY6ojXfsFX8zbq5zAU0p6m3ZpG+WK/cJf+TUKpU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uTGXNT68s2LngR/fovuY5qCcuMlWsjteZlPjefytu4oxxJR+pHSuEyOsZh4dcfbWL GwCRy7JXyQK89TvJkIwZqZjgtCnRjtptmXnVC2h6H/TWctpj6a9mJagh1uZEcTobZe XkniqoDIjg8OQNiqppRG9UoDBCOtEQxZ3G3axcPY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Bagas Sanjaya , Alan Stern Subject: [PATCH 4.19 25/58] USB: core: Fix RST error in hub.c Date: Mon, 26 Sep 2022 12:11:44 +0200 Message-Id: <20220926100742.369703644@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926100741.430882406@linuxfoundation.org> References: <20220926100741.430882406@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alan Stern commit 766a96dc558385be735a370db867e302c8f22153 upstream. 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: Reported-by: Stephen Rothwell Reviewed-by: Bagas Sanjaya Signed-off-by: Alan Stern Link: https://lore.kernel.org/r/YxDDcsLtRZ7c20pq@rowland.harvard.edu Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -5852,7 +5852,7 @@ re_enumerate_no_bos: * * 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.