Received: by 10.223.164.202 with SMTP id h10csp4240336wrb; Mon, 20 Nov 2017 12:09:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMakKxnkpSWd4KLMQJHhZIP2ENhqrZDAgGpEUBsmItBU8RtoyYikzBU3Rn1r6tehdu8BCWDs X-Received: by 10.159.252.131 with SMTP id bb3mr14607712plb.68.1511208575413; Mon, 20 Nov 2017 12:09:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511208575; cv=none; d=google.com; s=arc-20160816; b=cdpkpTvgGJctyaeRlXG1fEGpFk7yB1S6teTzyTaQMRJCOcjsdF3Dr8QH6D0h6NrcAi 9J+Z6rFgWBRuM2rLylg2Xp23ScRp8xZ77m3sU5t2c/qtFYDO4I7GziG2uvPrZG6PEczT AxFMlEvwXznTEszhAq9eglHLb6uqVpxAl02VEpH1Qweug6UgrXXD5BJMvEefWMFxPnw6 c7+2VnfKo0xb0FWUR2+0SWErZM5LMFBvjDLH5mXAmqzGNIOWhdOtySMO75hhvBKqvGS3 qTe2Rnay6d1lGesio53nuPw1lg+Rz/Tw6bxZA48FxI04ZP0QMAsVMjVoU62s2qLeBADQ QT8A== 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=IUcJuxtvZG0PbKHQ30tCDNdF86w0rELEzWvlk9sVVaQ=; b=xWodTk6icB1Pq0htmpIKbMtNwfmXnpCPOxGHDuLdCmPxKcttIWfy5QgIwsvHagn8FC JIZvRknFJF0v4bPv3ValuKw4AxFkdqCaE+/zUsbDKFuDGL6AnAgHyx7RK/Un5ei/nOER arWle9MCydz5teco0VkM0dwPcaSpOpJZ3K/f1j6JEkXOGUUzN/fwtxTLG73cci08g5XX DVsAdW+QIUHzcFKxw2idlSOP3fxy6UrBWsp7DTQpZttS8eJeIFzwNV2sPA6es/HBOZHh UfWgzkK3tFue8w4c6CEgDOrdIveTXS4sXNGAT0LGqxN5us+HyyxQqL8TVg+xzcCqocEO i2Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SRDo8bAr; 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 i8si8855344pgq.66.2017.11.20.12.09.24; Mon, 20 Nov 2017 12:09:35 -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=SRDo8bAr; 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 S1752660AbdKTUIh (ORCPT + 67 others); Mon, 20 Nov 2017 15:08:37 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:40082 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752562AbdKTUIf (ORCPT ); Mon, 20 Nov 2017 15:08:35 -0500 Received: by mail-wm0-f43.google.com with SMTP id b189so21026023wmd.5; Mon, 20 Nov 2017 12:08:34 -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=IUcJuxtvZG0PbKHQ30tCDNdF86w0rELEzWvlk9sVVaQ=; b=SRDo8bArhlHxM+FSQePaCX3R0EiMsmmftd4XeBnZSdo50eYrqA5O6Rsnc1rH5L8ldU MF4lZYhKH19vQeJ5QzFBarmbMFfBybaQqUvtaHCXWX5WkJx/3qY6kjox4f4HczG3uEdU p6LyUtAXcPR+qkJed1yz+qDdOefhLIGfCh5oCnahyaFssLqhzjCuI18mNBit+yDI17it QnBgHwIFz56YxM3vB3XC+7VNDD85lj94XK08H2w5y1uOF7wClw9+Id34MnNAH2YdlBf0 dkKTSWdjNvWo6F4yILievSfE5GFsQa+U3PlC/QTfGIu8Ozt+IGmoSKxmJMvkQyOOw6Iq BizQ== 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=IUcJuxtvZG0PbKHQ30tCDNdF86w0rELEzWvlk9sVVaQ=; b=gYYezJrrzGarsnWabS9bFYMYj0CHo//VKwGogZW823K+wH4/AAVWj42lir+cOSVe58 GyElJOJsyao0GrJTNb+DWFrJc7CXl/sSiMjVVM7VwL2r4ehHJpYm+deMyE3BLriJXaKo lUVjk1oBY0Qv1I7uxcqlwf4K5q5u+OEJkfRUdaxdB0/I5fRY7MsQHzX++BSgd0obGSYb MNkzmIh0zgyJRnPl4D5Mvk9DCzfZL1jbfs4X06SgwB5yPTGJ/WOh5Bdkg6XdS3ucZu78 IsV95vqDYEHlZjo8YLRvgkPQ+h0uAwxTFDSNfB+0ywJ9q1xhhJx4vZTZVX1inXIvUKed MYZA== X-Gm-Message-State: AJaThX5trz1KCwq0LgoJJUa/Yl+INNkvHpzKaE8WAToJCjm0GnW7R1Jh LjfPRqYJPK6e3EP3Zs6ouWs= X-Received: by 10.80.163.101 with SMTP id 92mr21268221edn.100.1511208514274; Mon, 20 Nov 2017 12:08:34 -0800 (PST) Received: from ltop.local ([109.134.23.87]) by smtp.gmail.com with ESMTPSA id p45sm9159156edc.30.2017.11.20.12.08.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 12:08:33 -0800 (PST) Date: Mon, 20 Nov 2017 21:08:31 +0100 From: Luc Van Oostenryck To: Jim Davis Cc: Masahiro Yamada , Knut Omang , 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: <20171120200827.726yhebihjhrhted@ltop.local> References: <716fa938a4ab0ad66490b72e2ed750cd6583728f.1510840787.git-series.knut.omang@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 12:48:35PM -0700, Jim Davis wrote: > > I'd be nice if people could just specify CHECK and CHECKFLAGS to run > their favorite checker, but currently CHECKFLAGS seems hardwired for > running sparse. So something liike > > make C=1 CHECK="scripts/checkpatch.pl" CHECKFLAGS="--quiet --file" > > fails when checkpatch is passed lots of arguments like -D__linux__ > -Dlinux -D__STDC__ . A little shell wrapper to grab the last argument > in that long list is a workaround, but perhaps CHECKFLAGS should be > made less sparse-specific? 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). -- Luc Van Oostenryck From 1584615804644202375@xxx Mon Nov 20 19:49:54 +0000 2017 X-GM-THRID: 1584259521491508959 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread