Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3900006yba; Tue, 16 Apr 2019 23:40:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGi9KyR+I7c1rlZYO8ZOXobIywUhKlz714SUmfnNfzKaKkyi4XwgFFlGpRbFQEB20kh7Bs X-Received: by 2002:a17:902:5a45:: with SMTP id f5mr49806278plm.23.1555483227770; Tue, 16 Apr 2019 23:40:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555483227; cv=none; d=google.com; s=arc-20160816; b=gBLrrmDAauLl6QaQEZntjnXgb9tHDusN0ttXXcCpJMDK6fet66NJ+WPtrMq6nGitdv kWsfIQ3upBiVf6E+rfOeO4ephhOnEalb7KzNKNzb27Xnh87EQ+B5ggZ6nniXOSpQvZqs TwowXeuicOEKg9Uc3m0+mVRLwHrPwNue+mXQHJb13BFiMpNV9r1/qTu0H6TlZRwaBoQm v3ei9fA7w+tHc6fWV0IFtAskg/pCqaZhofdrhm1FQNoyyXnufkhB+WVpHpCycMzEccHp sM2ESByR5SuG+eIaJVDLetmuNx4A/vOEZ8WQcxtbFoCXfXceiz+XAHn6WPMdv/jrSw4G QjLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=/zDvBu2C+eN3YpdLu2UPwlBoiQJ7Y/GgxolsDBc871c=; b=j5QBwzSkQbOC9jT/RFTwVVTzIvJ87Ry8ronTYEdFHsXoxQZnobp2plXvXIItLLQcUW xAJlzfZg5JK/lnbImBAnQfMs8Bxa9sPXpZfXp8+aZAKE3wg37vMui17FM/33YG72fnYA Ia80egXKe+7QeFoICYxSS6r6ogt1D1h+oMLI76a1TMMauB8/cww30xuQHGkKAZHKJS6s eVwXSBnYuVnNhxf6dooDv9VBB6hAQAPwSSo5fVlngwbXQ+RJO6u28sLXKbL42ONswwna n0bmk9zAdMEiDn9b6N1vgcSGE/rPVaAY4+PuGfVDRP+y9F+lN7pxRLFoIyyjLh0wvk23 h7zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=0EhN8HCv; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o11si47647078pgv.13.2019.04.16.23.40.12; Tue, 16 Apr 2019 23:40:27 -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=@nifty.com header.s=dec2015msa header.b=0EhN8HCv; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730384AbfDQGix (ORCPT + 99 others); Wed, 17 Apr 2019 02:38:53 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:21395 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbfDQGix (ORCPT ); Wed, 17 Apr 2019 02:38:53 -0400 Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) (authenticated) by conssluserg-05.nifty.com with ESMTP id x3H6cPp5007675 for ; Wed, 17 Apr 2019 15:38:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x3H6cPp5007675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1555483106; bh=/zDvBu2C+eN3YpdLu2UPwlBoiQJ7Y/GgxolsDBc871c=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=0EhN8HCv7rvAKCxlwmxj+jr0Rw/4u50Qwpyzqe3xfC1CLzca6F4ponHHeP/3ZmU0z 7zLGHXEzIGjVgfjZYdV9WUkjK6XlpRa9OMJRpM+Tb5xnNWkskpzw9+r6DoQnT96NxG L2JWjSuvR9bJR0E0alfKq7CuOaaVK5diFTeQuiP6/Jeynfdsm7yINXwjMqoVvOt8Dj 8Kw6EfKTBFHCCCN9r7HxClO6PvumhuSRL2yRnf0af6jqhQl6SiS4dyylQ7kazHqHY6 Hyrr8wS3d3w3DJTA2JQk5f6ZqCXT8C2n3DvjlfNHR/MQ2qLOAtWy1IMw1IGz+BXVtl rY0J9fXDBa29w== X-Nifty-SrcIP: [209.85.217.45] Received: by mail-vs1-f45.google.com with SMTP id t78so12986703vsc.1 for ; Tue, 16 Apr 2019 23:38:26 -0700 (PDT) X-Gm-Message-State: APjAAAWVRbrKtSCT9h2WCXC4Gt7SNWrc/UAraARdvlo1+stjwVCotNPH mxcbiUq1AEq0tdygnD6KdF/pJN+vNpR1yxZTn0M= X-Received: by 2002:a67:fbcc:: with SMTP id o12mr7506602vsr.60.1555483104881; Tue, 16 Apr 2019 23:38:24 -0700 (PDT) MIME-Version: 1.0 References: <20190323015227.245455-1-dianders@chromium.org> <20190416163034.3e642818ebf27ed6891c1981@linux-foundation.org> In-Reply-To: <20190416163034.3e642818ebf27ed6891c1981@linux-foundation.org> From: Masahiro Yamada Date: Wed, 17 Apr 2019 15:37:49 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kdb: Get rid of broken attempt to print CCVERSION in kdb summary To: Andrew Morton Cc: Douglas Anderson , Daniel Thompson , 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 , Joe Perches Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, On Wed, Apr 17, 2019 at 8:31 AM Andrew Morton wrote: > > On Thu, 11 Apr 2019 18:06:23 +0900 Masahiro Yamada wrote: > > > On Sat, Mar 23, 2019 at 10:55 AM Douglas Anderson wrote: > > > > > > 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 > > > > > > I know you add lots of Cc: lines > > when you pick up patches, but I think > > your script can be improved. > > > > You added "Cc: Douglas Anderson ", > > but Douglas is the author. > > I think the author should be excluded from Cc. > > Whoops. > > It's pretty benign: Doug will still only get a single email. > > > checkpatch checks for duplicates cc's but I think it assumes that > things like > > Reported-by: fred > Tested-by: fred > > were intentional. > > It would perhaps be better for checkpatch to special-case the "Cc: > fred" tag and report a duplicated Cc: if fred was also mentioned in any > other tag. Sorry, I do not understand what you mean. Douglas did not add any Cc: tag at all in his original patch: https://lore.kernel.org/patchwork/patch/1053953/ It's you who added the Cc: tags (and I am guessing you did it by scripting.) Why is this topic related to checkpatch? -- Best Regards Masahiro Yamada