Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3776656yba; Tue, 7 May 2019 06:57:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUh5YGZ0o+/26c/+pSj2skSVL5HqnQHuV4ArZyMxOFc5T2TxunXklADx9vonze8gy/Wqmc X-Received: by 2002:a65:44c7:: with SMTP id g7mr35237561pgs.399.1557237479683; Tue, 07 May 2019 06:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557237479; cv=none; d=google.com; s=arc-20160816; b=zkFFfwuoeW4cv9mHfl8SwMIw8CSE7meF9GLNJ6i2jqm2Fixxpa6e8LGup96uGLqKOb shfkzViIDhN/g4iMYRqft6DZfA/BolPcAynr8bs2GUpgLg83cc1tj7TiOkQoz7eHBe8C 6bl63zvunC4xuuuYSRxoBnjgAHgTZUsaiz0qdSDz07Y2y4VVIwEsV6Y4uBoBUcmrm2v/ SVhiXin56sOFRcv5zsPV9io2A2w/nsW8aZp7rULXDGg+xtOM5KNC5s8BVxuMPFZ2Hpi0 GwlhBXXadEE/pNNdhgOqkxmfWP/6bjc21duxBfonmX5eVQy1srO+sXMnUUclK0JwZ+jn PHEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ftaHeLN6LcCSd/vTpOtKevk2/0Z7rhTtE8080NO1IyY=; b=afLo4pGoNx0Sbev7kyPROhp8sH8tXWfvKU9kVnlU7pqJ1ouGKIMBy4bP4qyvnpCUam 4R5UJBJI30ifFwlHOmkogcazCZRmeGbsz96NNgSckYuxkAXTPdXBRVp/5z6/q50olWzv VnoiXD6AkYYMpW9JG1suzyKkvAQtHVGBMs1bRYfLouIDXnsaf+H9xNeJ4+z7r987TlkK ReTLXZ/NYN9qZ1Hwa5dtE6PJk+h3VXZXS82VqOpYmwTZrhD/ZURgxT8aRSgdQAxXT9NC ekKbW9WJBhweTdxIP0oSztQ+q/mn4m3fnEdpwIDc/0N/JFYTcqTDy5wFHF4rWMfZ0U4o U+IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CCwcJmAi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f67si18445752pgc.309.2019.05.07.06.57.44; Tue, 07 May 2019 06:57:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CCwcJmAi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726804AbfEGNzS (ORCPT + 99 others); Tue, 7 May 2019 09:55:18 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53718 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbfEGNzR (ORCPT ); Tue, 7 May 2019 09:55:17 -0400 Received: by mail-wm1-f67.google.com with SMTP id 198so2722256wme.3 for ; Tue, 07 May 2019 06:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ftaHeLN6LcCSd/vTpOtKevk2/0Z7rhTtE8080NO1IyY=; b=CCwcJmAiQKULARVAkP5inOfEjWKng+/5qwejU5zut+xMgxu9Lz7szjMOX5Xye5c1oJ cznwYpljGq+BC3K3fwYe2OCHd3JKh+sj63tnCIW+RGgG3ZIIseDiPfkjvM99TqCbVV61 P6jXTr6/iwdE6OllImhcj0qRaffSt4WZQBbx1EQTbXo3x5dnsOa6JZtvr5+xRh9OT8tQ GOEV+VC4l5vhCJlxTGY37rJ1yDUvKjoy8Kx3/dZoc9f2eTvBo6XdvF2p7aQEBMRynLAn nLNHfPLXYOq/H8snFIZWzds05JeICe1XCFTTGJMBZHhjpW3lT+6Ir7OEDneubUy43MGd MY5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ftaHeLN6LcCSd/vTpOtKevk2/0Z7rhTtE8080NO1IyY=; b=a7oajdYSv4az7klcToaaAc0QBtidhXNgk73pjp8kq41TtUWq4u6gpvYOM276E5slTf 55Lh9+RTLOISRZhe9VjcbgtZca07ioNpOS3/P0IHKjH7kiqmug659ZCLAKquPCIfT7xi WM8dEmJmxg9HDnNqTsL7tfjgwPMMpRyUEKsdWfqPLyY5i1h+YmYjmDbVRdrcjSNb8mtF 9jj4esT/jqrmcLeRPYq/SzsF35IEqVK3Oc4h3NCis40vBFSvvmGONPshVGifb092wJhT QaaQU0rVQrvm+ZGcn4HXGnQjXRfaJIHkg34j6jufH1LhjRlefRYAaQ0BPUllclveZmh4 QAzA== X-Gm-Message-State: APjAAAW2VFMv9VajiXZJR/Rs17f1WL+2NbbzIWUowrInxR7fyePb9Z26 NXwRdMvmuuzFlfvxkUD81nzfAA== X-Received: by 2002:a7b:c411:: with SMTP id k17mr21162882wmi.68.1557237315102; Tue, 07 May 2019 06:55:15 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id f138sm6267700wmf.23.2019.05.07.06.55.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 May 2019 06:55:14 -0700 (PDT) Date: Tue, 7 May 2019 14:55:12 +0100 From: Daniel Thompson To: Masahiro Yamada Cc: Douglas Anderson , Jason Wessel , Christophe Leroy , "Peter Zijlstra (Intel)" , Kees Cook , kgdb-bugreport@lists.sourceforge.net, Johannes Weiner , Linux Kernel Mailing List , "Gustavo A. R. Silva" , Nicholas Mc Guire , Andrew Morton , Joe Perches Subject: Re: [PATCH] kdb: Get rid of broken attempt to print CCVERSION in kdb summary Message-ID: <20190507135512.5fyy3zu7ljjaeg3u@holly.lan> References: <20190323015227.245455-1-dianders@chromium.org> <20190416163034.3e642818ebf27ed6891c1981@linux-foundation.org> <20190418160651.40cb6a11186a6c6028e9d20d@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 06, 2019 at 11:28:17PM +0900, Masahiro Yamada wrote: > This patch is technically super easy, > but shows how difficult to apply a > single patch in a correct manner. > > > The following showed up in today's linux-next, > doubling > "Signed-off-by: Douglas Anderson " > > This is obviously caused by the committer. Quite so. Thanks for pointing it out. > Do we need some check script for maintainers > before "git push" ? I have to admit that I think this was just a checkpatch mistake on my part. This thread is a bit unusual in that patchwork has collected up all the example Tested-by: Fred stuff that arose during the earlier tools conversation. It looks like I was sufficiently distracted by those to overlook the duplicated sign off... Daniel. > commit 51fee3389d71bfd281df02c55546a6103779e145 > Author: Douglas Anderson > AuthorDate: Fri Mar 22 18:52:27 2019 -0700 > Commit: Daniel Thompson > CommitDate: Thu May 2 14:55:07 2019 +0100 > > kdb: Get rid of broken attempt to print CCVERSION in kdb summary > > If you drop into kdb and type "summary", it prints out a line that > says this: > > ccversion CCVERSION > > ...and I don't mean that it actually prints out the version of the C > compiler. It literally prints out the string "CCVERSION". > > The version of the C Compiler is already printed at boot up and it > doesn't seem useful to replicate this in kdb. Let's just delete it. > We can also delete the bit of the Makefile that called the C compiler > in an attempt to pass this into kdb. This will remove one extra call > to the C compiler at Makefile parse time and (very slightly) speed up > builds. > > Signed-off-by: Douglas Anderson > Reviewed-by: Masahiro Yamada > Signed-off-by: Douglas Anderson > Signed-off-by: Daniel Thompson > > > > > > > > > On Sat, Apr 20, 2019 at 3:24 AM Joe Perches wrote: > > > > On Fri, 2019-04-19 at 12:28 +0900, Masahiro Yamada wrote: > > > Hi Joe, > > > > > > Can you detect redundant Cc: by checkpatch? > > > > > > Please see below in details. > > > Thanks. > > > > Yes, but I'm not sure why it's useful or necessary. > > git send-email using some scripts elides duplicate email addresses > > --- > > scripts/checkpatch.pl | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > > index 1c421ac42b07..bedec83cb797 100755 > > --- a/scripts/checkpatch.pl > > +++ b/scripts/checkpatch.pl > > @@ -2688,6 +2688,19 @@ sub process { > > $signatures{$sig_nospace} = 1; > > } > > > > +# Check for a cc: line with another signature -by: by the same author > > + if ($sig_nospace =~ /^cc:/) { > > + my $sig_email = substr($sig_nospace, 3); > > + foreach my $sig (sort keys %signatures) { > > + next if ($sig =~ /^cc:/); > > + $sig =~ s/^[^:]+://; > > + if ($sig eq $sig_email) { > > + WARN("BAD_SIGN_OFF", > > + "Unnecessary CC: as there is another signature with the same name/email address\n" . $herecurr); > > + } > > + } > > + } > > + > > # Check Co-developed-by: immediately followed by Signed-off-by: with same name and email > > if ($sign_off =~ /^co-developed-by:$/i) { > > if ($email eq $author) { > > > > > > > -- > Best Regards > Masahiro Yamada