Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1636712imw; Sat, 16 Jul 2022 11:03:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tonL5NsCXp2DY19wM2Yu+1LANehrR2oTY/cFNpIAdaSv4iC2z4Hr/OSs0cqEkiz4n/T3ot X-Received: by 2002:a62:5285:0:b0:52b:30f6:3017 with SMTP id g127-20020a625285000000b0052b30f63017mr11793249pfb.43.1657994632296; Sat, 16 Jul 2022 11:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657994632; cv=none; d=google.com; s=arc-20160816; b=QwOBPf6XjSZ58Lnci6dTMXB4f92vxfuEhW0qHUhUYlPGWvOiUWm254SWnSga/xvtS+ pPWLDb49L0MBDFCq0NQUWI5hXey71hj2qBKZMPBHSQGQMA5Kjcmc0Mi+8huW1fZW3vKz Gjo48y/VwiBH3bzzrrma98ulAYV3NCBCtjcyUJJiFZtiYTf/S/2E7KqaKJha8Zk1kd5j ahzBXCwKfkIPgus/b9jwTX4TB2pWIeoJ2cTdkyg2281YN44Y6QRzk2ZGYXvNGyG8AVIv MXiOYpc/ciUUeVpENJBcsoos9nDKf7322d4n/D329yhoriyhTqSWqavT2OSKNrTsdn/h ttBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=cKRGNMwex3YrCL3eQFSlZDdOI4WvaflsvpvamWZ6PEY=; b=LLdK12BSQpz3IrXpgqI4jy8jdzMJ9hypRr8dCO8i/aHwig0ybkgkKIrnfK+d9QWwor MwFNYv7okvjUrN9D7wCfPDsuIaUuHNrvQ6NJHRf22t4UQShPvV239dQmNIT2OydQvWGM c+T1dZ8AMX6EL4wkmcIyRu1k1+0yA6UdHjWAKS8yQ5lGP48lNK7V8yD3nDsoIrRD6on1 tn7yIpGE1AcXkzVobE2L7fLoBzJXNwr+75zJmv8DH3ko5ke2InZEZToiR8MDudhg86I9 tkURJPwA8xZA7+ROExcf+BvgTx8Jhaix0O5lHUZSLoSCAIicQWOH6LBswHNJ5AFwPkus xeOw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d6-20020a170902cec600b001622a77631esi9832418plg.594.2022.07.16.11.03.35; Sat, 16 Jul 2022 11:03:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229457AbiGPREm (ORCPT + 99 others); Sat, 16 Jul 2022 13:04:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbiGPREl (ORCPT ); Sat, 16 Jul 2022 13:04:41 -0400 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 4A7FB1E3F2 for ; Sat, 16 Jul 2022 10:04:40 -0700 (PDT) Received: (qmail 73717 invoked by uid 1000); 16 Jul 2022 13:04:39 -0400 Date: Sat, 16 Jul 2022 13:04:39 -0400 From: Alan Stern To: Jilin Yuan Cc: gregkh@linuxfoundation.org, mathias.nyman@intel.com, linux-usb@vger.kernel.org, inux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb/host: fix repeated words in comments Message-ID: References: <20220716133129.40575-1-yuanjilin@cdjrlc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220716133129.40575-1-yuanjilin@cdjrlc.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_PASS,SPF_PASS autolearn=no 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 On Sat, Jul 16, 2022 at 09:31:29PM +0800, Jilin Yuan wrote: > Delete the redundant word 'to'. > Delete the redundant word 'the'. > Delete the redundant word 'then'. > > Signed-off-by: Jilin Yuan > --- > drivers/usb/host/uhci-platform.c | 2 +- > drivers/usb/host/uhci-q.c | 2 +- > drivers/usb/host/xhci-ring.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c > index b2049b47a08d..c7ef58c05276 100644 > --- a/drivers/usb/host/uhci-platform.c > +++ b/drivers/usb/host/uhci-platform.c > @@ -20,7 +20,7 @@ static int uhci_platform_init(struct usb_hcd *hcd) > if (!uhci->rh_numports) > uhci->rh_numports = uhci_count_ports(hcd); > > - /* Set up pointers to to generic functions */ > + /* Set up pointers to generic functions */ This isn't a mistakenly repeated word; it is a misspelled word. The second "to" should be "the". > uhci->reset_hc = uhci_generic_reset_hc; > uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc; > > diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c > index 35fcb826152c..e7f4c1f28349 100644 > --- a/drivers/usb/host/uhci-q.c > +++ b/drivers/usb/host/uhci-q.c > @@ -345,7 +345,7 @@ static int uhci_cleanup_queue(struct uhci_hcd *uhci, struct uhci_qh *qh, > goto done; > } > > - /* If the QH element pointer is UHCI_PTR_TERM then then currently > + /* If the QH element pointer is UHCI_PTR_TERM then currently This isn't a mistakenly repeated word; it is also a misspelling. The second "then" should be "the". Alan Stern