Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp145290ybg; Mon, 27 Jul 2020 18:26:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5GHdbg+DtJ8/MbYXTCONsMMUD9R8xkLTAb6E1jI+7SEBNuQw90RzUzrjWbxJOtYXn6xBg X-Received: by 2002:aa7:d693:: with SMTP id d19mr24798856edr.317.1595899599849; Mon, 27 Jul 2020 18:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595899599; cv=none; d=google.com; s=arc-20160816; b=tDl3JYld1HljU7klwhB7sbj0w5DchsR9TJbDlltlEmUOnsQ56/XAB5JyNouN/FEMZ6 mUJBdG71Sit3KGsrTnToK6k95mXVGkUdjFLdhfMqj78fMw55Pd4lIaJhb5Gs/EP3AMGK bLIQeJMZOOj2O2zsIcGt4EJ1hetKKIsvoT7kc7kT0LvhnQaHucDH79nnnsKy2j43jH4U osO0zDBneCrikZVb9HMUO8OkjhypQvfwNuz8dyI2ZcHmilfTOlWO8TPS1WBd1Vv5dC5f AvLRv3LHKUngy3Jv0uZwqSzzMfSe18Vp0QDrSQmVEw5ppG21RBSRt5GyCMR0Oiu57FcQ RiBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=J7h5nm7OeGeSYDga4aeKFSZ59fTAyyLHn+E2ILNVZA8=; b=txwDEj0k4VpbwQj/zob5vT3IxO/k8LE55jPBp4MOdRr5993O3zxS23/njW8DVkWDyy HU7extLmlcyc+p/u38adEJ3OqKBtfQDIUAGFy5gNOhGkEJPhHcjMEiaUfAHGdYN7phVr 26cMCEKI0xLH+a+17HXi9iltu6x3aYPujSyCjVrSpfS413aZzfgIeufHdpozK4GvkAAb O+heToYaknmYxJCCi9QGrSGrRakfuzjVRgnzS2OXrvgQ/lqShui6DEI/EPI7HfN6C65T wX7aj+frYD9Usknxw5mnbyRCcAfFhi3Ikq3I0Id+WF8k6PCT6CLoOQKWw+8EZsYZbh8V a53Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bw19si6523418ejb.729.2020.07.27.18.26.17; Mon, 27 Jul 2020 18:26:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726839AbgG1BZ6 (ORCPT + 99 others); Mon, 27 Jul 2020 21:25:58 -0400 Received: from smtprelay0220.hostedemail.com ([216.40.44.220]:39316 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726247AbgG1BZ6 (ORCPT ); Mon, 27 Jul 2020 21:25:58 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 3208C837F24C; Tue, 28 Jul 2020 01:25:57 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 30,2,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:4362:5007:6119:7550:10010:10400:10848:11232:11658:11914:12297:12740:12760:12895:13019:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21627:21740:30054:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:1:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: shake93_3a01cf626f65 X-Filterd-Recvd-Size: 2008 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf15.hostedemail.com (Postfix) with ESMTPA; Tue, 28 Jul 2020 01:25:56 +0000 (UTC) Message-ID: <51cb45c64431540fa0e98288aba7d7366c41d6e8.camel@perches.com> Subject: Re: [PATCH] checkpatch: Add test for repeated words From: Joe Perches To: Randy Dunlap , Andrew Morton , Andy Whitcroft Cc: LKML Date: Mon, 27 Jul 2020 18:25:54 -0700 In-Reply-To: References: <20200726162902.Horde.TCqHYaODbkzEpM-rFzDd8A2@messagerie.si.c-s.fr> <4e505c35-8428-89bb-7f9b-bc819382c3cd@infradead.org> <16aa5f86f2f899a9156305ead4b7042449278eea.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-07-27 at 17:03 -0700, Randy Dunlap wrote: > On 7/27/20 12:33 AM, Joe Perches wrote: > > Try to avoid adding repeated words either on the > > same line or consecutive comment lines in a block > > > > e.g.: > > > > duplicated word in comment block > > > > /* > > * this is a comment block where the last word of the previous > > * previous line is also the first word of the next line > > */ > > > > and simple duplication > > > > /* test this this again */ > > > > Inspired-by: Randy Dunlap (rdunlap@infradead.org> > > Signed-off-by: Joe Perches > > Thanks for adding this check, Joe. No charge. It seemed simple enough and you are/were doing an awful lot of work to fix these. Thanks for that too. Joe