Received: by 10.223.176.5 with SMTP id f5csp2205554wra; Sun, 4 Feb 2018 23:26:04 -0800 (PST) X-Google-Smtp-Source: AH8x227xD9udjG1/TMs8xoDd3s5dPJO57nZTy3/lgW/SSvVYZDr2R48uxoBof7CFgymCzfjYgh1t X-Received: by 10.98.170.24 with SMTP id e24mr47911338pff.177.1517815564309; Sun, 04 Feb 2018 23:26:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517815564; cv=none; d=google.com; s=arc-20160816; b=FZEUIGrtQvYo3ZpOpvLr5d0ael6CZnQo6BMM79XB3InRFIGD0qz925mLPj7NNWFAu8 C+7HBDJm+DAHcdR4/CiOqcHeUY5CkpWkxT83N9/9MVaJRat48ArD0ZyE3mNY9bSIo0gj ZnnsrQSFkiU5hMavEzV8blRrLZndi5x92fy1LfB0W/+WxcjDBiVfrgci2RfvbYEx8J69 x0yXghRifLPpgHriwCpycKqPfGrBMS1ylm86Ib2/+KKibNnoN8WcHzhcU2m7Hm5AzTml LG9PhzDgREXvzGNInUcVxQjwnnLQsiGH1mMk3azm2cgGu3A9G01qSaOKIHJozgK+Q+n1 C3YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:arc-authentication-results; bh=7e7rL7MdEBpxOVf+FPg2Lnv6c1I8K+4qlisfRXQgTjU=; b=rmT0/MwGN+2+MRllDbVo9kKwyexWizVyKmMoXGn89BJ32wmdkxgqmzhe6+lpfFKmK3 De8yNUh0YGO7izdyhogI1KC/BYYCgiNKZNRdGPgCe9ibrnqcnSEHRDy5w3Vk/0ClU9ks rCVk+rFO2R4iCzyoOf7LE1+koL8jR5gKoHtvvhb+4zYSK+eQuJ4n+utrBHvbJ7SMoZQm BWsTjED4gJ0edvTfYUZsfunjxje0DESuqGCrTaRPV4ojuD+UljBHMCW/XwYWn4kkQttY RpZAPvVpXMcPb2xaizh5pQiIdu1ZET/GZdvXdTZouQ8pXggsrAPdK9s8DjloZMjrYAFU gtpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=lPagKfzm; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w34-v6si6525912pla.629.2018.02.04.23.25.49; Sun, 04 Feb 2018 23:26:04 -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=@oracle.com header.s=corp-2017-10-26 header.b=lPagKfzm; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752606AbeBEHYH (ORCPT + 99 others); Mon, 5 Feb 2018 02:24:07 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:44734 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbeBEHYD (ORCPT ); Mon, 5 Feb 2018 02:24:03 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w157NES8143330; Mon, 5 Feb 2018 07:23:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=corp-2017-10-26; bh=7e7rL7MdEBpxOVf+FPg2Lnv6c1I8K+4qlisfRXQgTjU=; b=lPagKfzmW8J59INxTDd0gioteEa++zEpgn9NbweXdwbSJ+th8cms3ywVW01x8Sxhgkrq HRYwjpkAAwbJqOe40nV6Lr/UbrX468d8B6cmZ+rjZMBiHp30e5pBKnZPn8yYxezFO6P5 TobBW0cyobS1A44NO44KyEmo5Xa+A9Qtk2C2MDDHXQS4XUnhd32obtHqjlzpWUuSD1yd H40QAzLayBtF+zs+LAZWbM+RDwMd3mMuxOql22QW/bJdnQJM6DTf79kEy7dveIhWY8h9 yrX/r/R18cHXQYBCPyB+pR3IhGQGl84oMcTZCMyN3BxZlObCw30jBGYFih21WgeJtbN9 /Q== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2120.oracle.com with ESMTP id 2fxjmw00wr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Feb 2018 07:23:15 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w157K73M013079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Feb 2018 07:20:08 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w157K5E4025354; Mon, 5 Feb 2018 07:20:06 GMT Received: from asu.omang.mine.nu (/80.203.111.41) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 04 Feb 2018 23:20:05 -0800 Message-ID: <1517815200.3118.383.camel@oracle.com> Subject: Re: [PATCH v4 1/1] runchecks: Generalize make C={1,2} to support multiple checkers From: Knut Omang To: Masahiro Yamada Cc: Linux Kernel Mailing List , Mauro Carvalho Chehab , Nicolas Palix , Linux Kbuild mailing list , =?ISO-8859-1?Q?H=E5kon?= Bugge , "open list:DOCUMENTATION" , Jonathan Corbet , Gilles Muller , Tom Saeger , Michal Marek , =?ISO-8859-1?Q?Micka=EBl_Sala=FCn?= , "Paul E. McKenney" , Julia Lawall , John Haxby , =?ISO-8859-1?Q?=C5smund_=D8stvold?= , Matthew Wilcox , "Levin, Alexander (Sasha Levin)" , cocci@systeme.lip6.fr, Andrew Morton Date: Mon, 05 Feb 2018 08:20:00 +0100 In-Reply-To: References: <1517812899.3118.372.camel@oracle.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.6 (3.24.6-1.fc26) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8795 signatures=668662 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802050095 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-02-05 at 16:03 +0900, Masahiro Yamada wrote: > 2018-02-05 15:41 GMT+09:00 Knut Omang : > > On Fri, 2018-01-19 at 11:14 +0100, Knut Omang wrote: > >> Add scripts/runchecks which has generic support for running > >> checker tools in a convenient and user friendly way that > >> the author hopes can contribute to rein in issues detected > >> by these tools in a manageable and convenient way. > >> > >> scripts/runchecks provides the following basic functionality: > >> > >> * Makes it possible to selectively suppress output from individual > >> checks on a per file or per subsystem basis. > >> * Unifies output and suppression input from different tools > >> by providing a single unified syntax and presentation for the > >> underlying tools in the style of "scripts/checkpatch.pl --show-types". > >> * Allows selective run of one, or more (or all) configured tools > >> for each file. > >> > >> In the Makefile system, the sparse specific setup has been replaced > >> by setup for runchecks. > > > > Hi all, > > > > - Anything more I can/need to do to bring this forward? > > - Any quiet concerns? > > > > I realize it is a subsystem crossing change, > > Is it? Only Kbuild this is related to. Ok, I see! > > and a lot going on elsewhere, > > nevertheless I believe this is a time saver in the slightly longer run, > > as it allows automation of checking, even without a "perfect" > > code base to begin with. > > > > Sorry for the delay. I understand, no problem - just was afraid it was about to get lost in between subsystems, > I have not been able to find time to dive into the detail yet. > (Actually, I tried to do that for v2 or v3, where Python code was so dirty, > then consumed my time to figure out what the code was trying to do) Hopefully v4 is cleaner from a Python code style point of view at least, but let me know if you have any particular part of the code in mind wrt readability. Also hopefully the docs should be of help. > I find my concern here: > https://lkml.org/lkml/2018/1/5/497 I believe I have addressed the issues there in v4. > Anyway, I will take a look again when I find some time. > You do not need to take care of the detail until I request to do so. Ok, thanks a lot for your time and the quick response now! Best regards, Knut