From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EED3FC388F7 for ; Fri, 13 Nov 2020 16:15:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F9AF208D5 for ; Fri, 13 Nov 2020 16:15:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726460AbgKMQPL (ORCPT ); Fri, 13 Nov 2020 11:15:11 -0500 Received: from smtprelay0141.hostedemail.com ([216.40.44.141]:42750 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725866AbgKMQPK (ORCPT ); Fri, 13 Nov 2020 11:15:10 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 2AFA01E01; Fri, 13 Nov 2020 16:15:10 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: clock41_360a2f427310 X-Filterd-Recvd-Size: 2628 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Fri, 13 Nov 2020 16:15:08 +0000 (UTC) Message-ID: Subject: Re: [PATCH V3] checkpatch: Fix spelling errors and remove repeated word From: Joe Perches To: Dwaipayan Ray , Andrew Morton Cc: linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org, lukas.bulwahn@gmail.com Date: Fri, 13 Nov 2020 08:15:07 -0800 In-Reply-To: <20201113152316.62975-1-dwaipayanray1@gmail.com> References: <20201113152316.62975-1-dwaipayanray1@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-11-13 at 20:53 +0530, Dwaipayan Ray wrote: > Delete repeated word in scripts/checkpatch.pl: > "are are" -> "are" > > Fix typos: > "commments" -> "comments" > "falsly" -> "falsely" > > Signed-off-by: Dwaipayan Ray thanks. Acked-by: Joe Perches > --- > Changes in V3: > - Change subject line > Changes in V2: > - Add correction for falsly > >  scripts/checkpatch.pl | 6 +++--- >  1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 2749f32dffe9..041b82f6669e 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -2841,7 +2841,7 @@ sub process { >   > >   > >   # stable@vger.kernel.org or stable@kernel.org shouldn't > - # have an email name. In addition commments should strictly > + # have an email name. In addition comments should strictly >   # begin with a # >   if ($email =~ /^.*stable\@(?:vger\.)?kernel\.org/i) { >   if (($comment ne "" && $comment !~ /^#.+/) || > @@ -5000,7 +5000,7 @@ sub process { >  ## $line !~ /^.\s*$Type\s+$Ident(?:\s*=[^,{]*)?\s*,\s*$Type\s*$Ident.*/) { >  ## >  ## # Remove any bracketed sections to ensure we do not > -## # falsly report the parameters of functions. > +## # falsely report the parameters of functions. >  ## my $ln = $line; >  ## while ($ln =~ s/\([^\(\)]*\)//g) { >  ## } > @@ -7109,7 +7109,7 @@ sub process { >   exit(0); >   } >   > > - # This is not a patch, and we are are in 'no-patch' mode so > + # This is not a patch, and we are in 'no-patch' mode so >   # just keep quiet. >   if (!$chk_patch && !$is_patch) { >   exit(0);