Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1330761yba; Thu, 18 Apr 2019 20:31:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqy12A6dlCfDOYLCIliConPg3sEdNA0J8d7xvFP8Usl9GsDGKpwqg02f/RFNyszK5NUwwXvO X-Received: by 2002:a62:5144:: with SMTP id f65mr1420808pfb.13.1555644689292; Thu, 18 Apr 2019 20:31:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555644689; cv=none; d=google.com; s=arc-20160816; b=GzaCHFAG9BhxObgnDLzPWNBPtJPjLVrlUEakjh4QGlRnaniH058veqbXtLc5Wjqe8S 8azOpw2DNsYFu1ay8fLbIY7SkasoHDg5iav6eJky6dfnHaEqQLh6LTxCbmLFAcdfmn57 Iv8SJXMgOwOKzSGLC6YIJKAXBB72OE6hDoBrEjAiTjsk0rxKoZdSWuEJ1HCKnXSvWO3+ IOxaoj7RATlXwEtOsErZybvsC9fYBxtddyGSm/HckZpBHkikHyWdkEPfAeoQYHIQ+zvs 4REYlQfw7D0YvrE6cnBQ03H9+vgt28hGIBdqfXT1PRXtWUjMs1tmj35pjz84RGT/Fey9 Qvig== 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=xhhcWRdOrfUUHu7jrTassp00L06rdQMjbGj6+f2wt/w=; b=0EIpTZegrLTfS51miBS9f/eMqWVYHjRh0Y1nrlVwM4o10YQZs+5zc5p9lD8IvVrBGW SYfqLSzDfG+SIsFp06VVI54sbJN5u8SMBlMsl6qfDXn6ZoBUsYIoB7YXXBidP+gcXOd5 JaPTbT26M3r+H47Dfrtdh9gGcC4qdMq+YrGkeV4L8ziS+9VR1gom3q52KSbHbBHADWjd pGP5TMgioM77ER/sHhfriIPWkTsUkv353qqNYWDD1s+2iZTqbSxj+TPtPXIyhbEQTeHQ 3FVgGs6p6tkxlHEbwZmttGNW5O1PigrIis1l3/yzHqYq+gUF4Q7yGH90OiE+XCcD0+27 QfYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=RlAqRCrr; 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 d14si3884905pgb.26.2019.04.18.20.31.13; Thu, 18 Apr 2019 20:31:29 -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=RlAqRCrr; 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 S1727225AbfDSD3I (ORCPT + 99 others); Thu, 18 Apr 2019 23:29:08 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:29216 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbfDSD3I (ORCPT ); Thu, 18 Apr 2019 23:29:08 -0400 Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x3J3SutT023095 for ; Fri, 19 Apr 2019 12:28:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x3J3SutT023095 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1555644537; bh=xhhcWRdOrfUUHu7jrTassp00L06rdQMjbGj6+f2wt/w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RlAqRCrrGcFzEcn+4Y7ofB1iZhau4i2M50Jd73C16VbymNv+LikzanYRxR7SCg5R5 W84IzfolWuhgZjk+24DFHxjs2hv88Ejh1V0zc9QE/zF5+EeE5ECG/evJtmswhjzC9V CSilGtFoogeIEUfZp2ARqlUhbwj1H/V3xpiDONZEanedxD6biKMTbv6GKRpdphaCRx wVX/apPGEBtK217o2stenTLr040V+gIdrWCSEOUziVBKXdk5iH8B9m/T53SCRPHSXN pt25VyWeZVakOHSqv9oG18p9azBxPZxfVnfOmr2ofOr8PIRrQuUa8Y7P8EwyM4e+Wu ne20Lj+7BGk5Q== X-Nifty-SrcIP: [209.85.217.53] Received: by mail-vs1-f53.google.com with SMTP id n4so2280584vsm.3 for ; Thu, 18 Apr 2019 20:28:56 -0700 (PDT) X-Gm-Message-State: APjAAAWwHUCFYGfBIWKgYDUMLS5yRCD6D1gPLl/Lk161sB86kGIUjdPP 5Q3b5lOFREhEas9egZYdTmftmyMtl+lqN3YrPAI= X-Received: by 2002:a67:74cd:: with SMTP id p196mr809691vsc.215.1555644535983; Thu, 18 Apr 2019 20:28:55 -0700 (PDT) MIME-Version: 1.0 References: <20190323015227.245455-1-dianders@chromium.org> <20190416163034.3e642818ebf27ed6891c1981@linux-foundation.org> <20190418160651.40cb6a11186a6c6028e9d20d@linux-foundation.org> In-Reply-To: <20190418160651.40cb6a11186a6c6028e9d20d@linux-foundation.org> From: Masahiro Yamada Date: Fri, 19 Apr 2019 12:28:20 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kdb: Get rid of broken attempt to print CCVERSION in kdb summary To: Joe Perches 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 , Andrew Morton 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 Joe, Can you detect redundant Cc: by checkpatch? Please see below in details. Thanks. On Fri, Apr 19, 2019 at 8:07 AM Andrew Morton wrote: > > On Wed, 17 Apr 2019 15:37:49 +0900 Masahiro Yamada wrote: > > > > 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? > > Because I regularly check all patches with checkpatch but checkpatch > failed to detect that I had > > Signed-off-by: Douglas Anderson > ... > Cc: Douglas Anderson > > and I believe that checkpatch could and should have warned about this > situation. > -- Best Regards Masahiro Yamada