Received: by 10.223.164.202 with SMTP id h10csp4310634wrb; Mon, 20 Nov 2017 13:23:42 -0800 (PST) X-Google-Smtp-Source: AGs4zMblTicp4V2QJcbhljI7xFJsxnGrHc1NpTIf7DfwuRrgx2SDDTsQnXyliet5stvHPA+/VOSE X-Received: by 10.99.116.94 with SMTP id e30mr14716095pgn.59.1511213022287; Mon, 20 Nov 2017 13:23:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511213022; cv=none; d=google.com; s=arc-20160816; b=DMAS3cR7F+EXa6Byz+cDwSWx8kCL4qRvetdmjFNPjoMdqtgCDvRZzn9W7d6L5Ra17l iMVkk0ptr5LZiByJbwrZ/3Oo24bOtRcMONVQnKOYBzuneUWq0hrsjj6fcITuHP/IqfMd 6wJVXpcMZnlTaRgdQyhVtclhv3LByL0ISKUMUaYYmF8Qs3DLgIvsj6MC7P4zHgcJQn0J zjMDFsmKH8mvmGIUPeZNKbDP9AgExwAjn67kaDzd3c/Np81IhTjaerPCIGO1whsBA8ox h6WrQRnGZXtr/YVdlP+UK8aKaVTIeZvWcSSetPt5MQSoktgHCjkgKFBfkmQb3lUgGirk MheA== 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:arc-authentication-results; bh=CMVDUDipQldvVP82rrfLdrxVM9q/P6AWAUqS+VsAygU=; b=Eddaa1tzBqqv/3YjQWlhHXaeqBTbawYvquISrG5RRPkVWkOqguwACOoI3EzMsLSGnS mJfzKlOFd7DW3CvC452EuUEfvAVFdl2DXfPGz9yqaLe0k+kK7mbczFlmGszQ0uZjXcDO rcuNJ+2yAKq4TV0qCY4xon0fJWdkEIsIb06Z8Zm0dkrYYU3sWDkq2it9gkYzgfyuLZwf u7rrOgRQy9eBJS1UnwifGi/fPGqz546LQDEIVCHsxAFJ4qyHAKE64nPinpwKkHlm8Z0V 3ROG9HxCI4CE1Ku7SPh5vWqysyBoDrMCmnCGiBoCQv/FEIQQgf6HLwf/0IxwoKj2n5QE /Smg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o4VSwpTd; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b91si9062809plb.819.2017.11.20.13.23.32; Mon, 20 Nov 2017 13:23:42 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=o4VSwpTd; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753062AbdKTVW5 (ORCPT + 67 others); Mon, 20 Nov 2017 16:22:57 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:46357 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753068AbdKTVWz (ORCPT ); Mon, 20 Nov 2017 16:22:55 -0500 Received: by mail-wm0-f48.google.com with SMTP id u83so13056969wmb.5; Mon, 20 Nov 2017 13:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CMVDUDipQldvVP82rrfLdrxVM9q/P6AWAUqS+VsAygU=; b=o4VSwpTdmJGzyddHchMnOy35IAJamPRkA7LHbpM90e9iome8R9skkg/+Ai3GgEqeCG 8EHCvpk7quSlrSy1wum/CpgNOYkXFU3i9Rtq1DWoU3IHO2r94oIQ0wa8QjtdV8o+lI/q MRLzmK4bDW4YNzgQbr2jB22lUfe0tE2MloEqZVAre4ly3nJU2X+q4U/HK+xIZzHuqE11 4PSHoxJguNbd0lTAP+uCZh3ch/vjJ/JZTx+RwyhilJozyKAXFUz6A712Bv6C6hE058s2 wlyHruYAQ9MlsxNIdarvmH+ijbDtSzb+t5eacjX8yL05XShQTvh1Hg0m47ivJXEHUnFl NIZw== 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=CMVDUDipQldvVP82rrfLdrxVM9q/P6AWAUqS+VsAygU=; b=WqOUH+r7DuWRFjZyenPj0su7/KgJ6kbwukYqvAA30klMUAmbU5x59u+Pcxffn5foRm CWTC3iTXGIVoIV67w/4/NSNncTCAl7QfnCnyKHZK+0W5MXZriibQL2M1pbk8WVUjramt exjdCFDti5d1AeXpOFYALaY9jVnxbwZHl2feaJF12UyItLkeX98M5Aj7j6XFWDD2eOdg DJOxVcfT73rn4TFIXb1VfBpm44nJkakYC8tbvRRG+eA6QeBYvI7nqqALOiioBSZ5aRT4 3fE1RrgWwCdsSUMVc4RJn4Kh0PmhzUss05OFCf0hkBBDRu4hMxGABL8CW2wAxQwqnvjL Ih1w== X-Gm-Message-State: AJaThX4GJnNNImxBN/kdvxbNbOeayl6bLL1mSntx79YwPNGtDfhLAW2f D3EIn+8s7WkAdiN99wc6KVM= X-Received: by 10.80.187.99 with SMTP id y90mr16630039ede.154.1511212974557; Mon, 20 Nov 2017 13:22:54 -0800 (PST) Received: from ltop.local ([2a02:a03f:404f:5300:9d32:b014:8579:5636]) by smtp.gmail.com with ESMTPSA id o15sm816059edk.25.2017.11.20.13.22.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 13:22:54 -0800 (PST) Date: Mon, 20 Nov 2017 22:22:52 +0100 From: Luc Van Oostenryck To: Knut Omang Cc: Jim Davis , Masahiro Yamada , Linux Kernel Mailing List , Michal Marek , Linux Kbuild mailing list Subject: Re: [PATCH 2/7] kbuild: Add P= command line flag to run checkpatch Message-ID: <20171120212251.k4uvdstfhg6qtrag@ltop.local> References: <716fa938a4ab0ad66490b72e2ed750cd6583728f.1510840787.git-series.knut.omang@oracle.com> <20171120200827.726yhebihjhrhted@ltop.local> <1511212212.4822.66.camel@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1511212212.4822.66.camel@oracle.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 20, 2017 at 10:10:12PM +0100, Knut Omang wrote: > On Mon, 2017-11-20 at 21:08 +0100, Luc Van Oostenryck wrote: > > > > It should be noted though that CHECKFLAGS contains very very few > > sparse specific things. It's mainly flags for the compiler > > coming from KBUILD_CFLAGS (which of course, sparse needs to > > do its job properly). > > Yes, and we would want some arguments passed to checkpatch by default as well. > > A wrapper script (which by the way was what I started this with..) > could of course solve this and other issues such as the ability > to run multiple checkers, but I am not convinced that that would be > less ugly? A wrapper script is something else that need to be maintained but of course, it's very flexible. I don't have a strong opinion on this and prefer to let speak the people who maintain kbuild. Should it be possible to somehow keep the distinction between the flags coming from KBUILD_CFLAGS and the pure CHECKFLAGS? -- Luc Van Oostenryck From 1584620917398923710@xxx Mon Nov 20 21:11:10 +0000 2017 X-GM-THRID: 1584259521491508959 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread