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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 959C5C388F9 for ; Wed, 21 Oct 2020 17:25:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 105AE2224E for ; Wed, 21 Oct 2020 17:25:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2444244AbgJURZx (ORCPT ); Wed, 21 Oct 2020 13:25:53 -0400 Received: from smtprelay0018.hostedemail.com ([216.40.44.18]:42650 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390251AbgJURZw (ORCPT ); Wed, 21 Oct 2020 13:25:52 -0400 X-Greylist: delayed 518 seconds by postgrey-1.27 at vger.kernel.org; Wed, 21 Oct 2020 13:25:52 EDT Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave04.hostedemail.com (Postfix) with ESMTP id 354C21801653F for ; Wed, 21 Oct 2020 17:17:14 +0000 (UTC) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 646F21801626A; Wed, 21 Oct 2020 17:17:13 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: fruit19_400ba4f2724a X-Filterd-Recvd-Size: 1682 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf11.hostedemail.com (Postfix) with ESMTPA; Wed, 21 Oct 2020 17:17:12 +0000 (UTC) Message-ID: <0f2bd4e988ce0a75434407a2db584a4e0c6c6280.camel@perches.com> Subject: Re: [PATCH] checkpatch: fix false positive for REPEATED_WORD warning From: Joe Perches To: Dwaipayan Ray Cc: Aditya Srivastava , linux-kernel , Lukas Bulwahn , linux-kernel-mentees@lists.linuxfoundation.org Date: Wed, 21 Oct 2020 10:17:10 -0700 In-Reply-To: References: <20201021150120.29920-1-yashsri421@gmail.com> <26647abf8cf14595a0dd22f10ec1c32e3dc2a8c0.camel@perches.com> <40ca3f0f9a960799ad0e534b77d778c90119e468.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-10-21 at 22:29 +0530, Dwaipayan Ray wrote: > Can it be considered that the Hex numbers occur > mostly in pairs or groups of 8, like "FF" or "FFFFFFFF"? > > I think it might reduce the negative side further. Maybe. This already looks for pairs. Combined with your previous patch, https://lore.kernel.org/linux-kernel-mentees/20201017162732.152351-1-dwaipayanray1@gmail.com/ it seems OK to me. Try something out and see if it makes a difference.