Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3133385rwb; Fri, 9 Dec 2022 10:20:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf4h+N7cPJ9STEK1S7GI3+abx3eOEIDiV5VfsP4eeSI1lrIEG90KdA4RNubc0FkyGYsTrwAi X-Received: by 2002:a17:906:4e8e:b0:7c1:458b:a946 with SMTP id v14-20020a1709064e8e00b007c1458ba946mr1874751eju.0.1670610003492; Fri, 09 Dec 2022 10:20:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670610003; cv=none; d=google.com; s=arc-20160816; b=s+Z3fMBF300k1b2chBn3z/DXExLLu4UCPSNipANdJD9HaN0nduykRr8tDsZ+qjnew3 UehwDTwKT38IbM49Lzu2bQogf8kyKFavrJEMBIbZusjpqHYDgNNZUdYG812DlyKc06pp a1RCfr22km4eRogBsQenhyFnVIaxT1nrkTm/RWe6BAX19GxYnUSJfg1R1lA37cC8/8mg Na04r4oRQ22l5CdBk8pXU7TrUkOVA8B9L36pe/JgroMMcJbtCCdQcgGfmFtyhVSdefxZ 0kd3aXkWowjjCFGrJ7VI+IGzSBYcPpi1QX3ZQFVLuMY2PNsP3ckUzc/pbKFjlRAsHgoq f8vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=NfCVgrFlzjfDviN6eHsHnHIo9QJ/R+ITpfKLaLYXqVI=; b=sWlUkXFTVLIeN7e18Z2Y5UpvAJNcr+C4ppKjGu2kFTfCghvM2hiuddwyJKxXFJuPUN 17X4SUsDxkYkdeaHXcx9SwDxdmTlfBM+Uxp+22yjyiloTe2+HEHY61gvnEy9MS5EU0uP wmjBG80ntouMmtaslIbzY9GvzqH8or/tbmkzxtSbndS4VSqYnt6/m3Ie5CFgjCan2kcJ oB0/O3gEkYp21DKe2aIXudoi7yCk+aGnFwkDIF9qK3l+udtUD8gaiF4A0phmj3SLwT7w JT6Q9YMjHPLGLkXPaDLPwQtHC9TLnhmuTbwIGCwpGGFOqbp7J5cd/PnJWA5iISV2ZFEm qYMA== 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 ht12-20020a170907608c00b007becf776d7esi381506ejc.462.2022.12.09.10.19.45; Fri, 09 Dec 2022 10:20:03 -0800 (PST) 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 S229691AbiLIRA0 convert rfc822-to-8bit (ORCPT + 74 others); Fri, 9 Dec 2022 12:00:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbiLIRAY (ORCPT ); Fri, 9 Dec 2022 12:00:24 -0500 Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E70B6311 for ; Fri, 9 Dec 2022 09:00:20 -0800 (PST) Received: from omf06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 0698C141383; Fri, 9 Dec 2022 17:00:18 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf06.hostedemail.com (Postfix) with ESMTPA id 7348720011; Fri, 9 Dec 2022 17:00:16 +0000 (UTC) Message-ID: Subject: Re: [PATCH 2/2] checkpatch: warn when Reported-by: is not followed by Link: From: Joe Perches To: Thorsten Leemhuis , Kai =?ISO-8859-1?Q?Wasserb=E4ch?= , linux-kernel@vger.kernel.org Cc: Andrew Morton , Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn Date: Fri, 09 Dec 2022 09:00:15 -0800 In-Reply-To: References: <4af6cd7f0833f18e9eee8caba1913e682c5ec071.1670527774.git.kai@dev.carbon-project.org> <3953eb4913bf9b5610854624c4c632e710cd1ec9.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Rspamd-Queue-Id: 7348720011 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Rspamd-Server: rspamout01 X-Stat-Signature: hw7fcro58j5p4nwnxfaq7k51161gt61y X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX182XctC+8KKGwuIl56b++vn9jT8kV/Ymcw= X-HE-Tag: 1670605216-195453 X-HE-Meta: U2FsdGVkX1/Wf4/piGhYuePvRRf3VBCkfKNboBSk8R1D0ALByvEpR4qjlAoDPjTtsBUi2tcFxkSDDoNIOy1giQ== 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 Fri, 2022-12-09 at 10:54 +0100, Thorsten Leemhuis wrote: > On 08.12.22 21:21, Joe Perches wrote: > > On Thu, 2022-12-08 at 20:32 +0100, Kai Wasserb?ch wrote: [] > > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > > [] > > > @@ -3144,6 +3144,20 @@ sub process { > > > "Co-developed-by and Signed-off-by: name/email do not match \n" . "$here\n" . $rawline . "\n" .$rawlines[$linenr]); > > > > I believe this use of '"$here\n" . $rawline . "\n"' to be a defect. > > I think this should just use $herecurr > > > > And the unnecessary space before a newline is an abomination ;) > > > > "Co-developed-by and Signed-off-by: name/email do not match\n" . $herecurr . $rawlines[$linenr]); > > Well, that's existing code. Want me to add a separate patch that fixes > both of these aspects up in that area? Sure, thanks.