Received: by 10.223.164.202 with SMTP id h10csp2134125wrb; Thu, 16 Nov 2017 09:54:11 -0800 (PST) X-Google-Smtp-Source: AGs4zMYyW5SrrimZAW5JNXK0rUZNS9gcInCjKr9tFQkin4zYxM9TtZAFHhByQov45AC2cAsw/P2o X-Received: by 10.98.11.71 with SMTP id t68mr2648233pfi.79.1510854851296; Thu, 16 Nov 2017 09:54:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510854851; cv=none; d=google.com; s=arc-20160816; b=HKTWYlOb+lJ0EuiLh6L9DKL4SoMjhS3fGwsUdmxKac9qrG7Yun4X+pu/2UIr1aqEWd k6BvcHXo0t4YCgSZaFkvlD5llqOnVW8yEApbOqnljVm0D3W+l4Ae5IIF/Wpwa0EsYGJJ 2blsam69QvvSCPw44FIpkp7T2WGdvJT/Z7aqSA0oJ1/rGZ9dINOZExzh1UwdH7fVH+xF Kj+Knideyatv8208Nu/d4z3jVGxDpAFDHHgujBodEGb7rNmX1fNT2oVvtZwxwZOq5oJH h8YDS3NtBpcW4hxi4VyZf4qX/k1t1y7I+6/GwLEjAeokiA69UMxwh14JZkNpC/HD0Lr/ jelA== 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 :arc-authentication-results; bh=Ezp9uVPQfOFNHF6JKMspkU6MlBBFslhDHDRElTAtcX4=; b=ZX7e6a6E13qfCbyqJLdjkDL7up+/BovHlGjWX1SYpcaMsEV9w+cSGRB9/FQQgGPiYI P+/XPc2sQvcPyeXCO8WCIT4z1n7WeqJLu5/cWNfPynN6cDkhTPY9DYg46g9B9nC5/jn7 c/fOAkra8YpPNMrY9y+PwqJtcm5xlb8loeLCiyk1rfXnwHwMaHsP8MnTdDSOf4P0ws1r ocnegCjtMqHO+Gv76Ff3IwL0aVASEQMqjp9fQEUDr33qj92DmcM3EzvLXf4z4VnN3Rsj wNtCdwd6DxiuDsfqB5jfDpwWEB5fclbsQiCbNaKgxZXamujjwyn7/9AzmQot909KZHbo z5Vw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 31si1220322ple.443.2017.11.16.09.53.58; Thu, 16 Nov 2017 09:54:11 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965957AbdKPRoT convert rfc822-to-8bit (ORCPT + 92 others); Thu, 16 Nov 2017 12:44:19 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:48861 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965836AbdKPRnk (ORCPT ); Thu, 16 Nov 2017 12:43:40 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAGHhX7S025242 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Nov 2017 17:43:34 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAGHhXag015605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Nov 2017 17:43:33 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vAGHhWRG030640; Thu, 16 Nov 2017 17:43:32 GMT Received: from asu (/10.175.208.97) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 16 Nov 2017 09:43:32 -0800 Message-ID: <1510854208.3063.33.camel@oracle.com> Subject: Re: [PATCH 1/7] checkpatch: Implement new --ignore-cfg parameter From: Knut Omang To: Joe Perches , linux-kernel@vger.kernel.org Cc: Andy Whitcroft , Andrew Morton Date: Thu, 16 Nov 2017 18:43:28 +0100 In-Reply-To: <1510852186.31559.37.camel@perches.com> References: <280c16fb1b8a645f0c62cea03f440fd0661af898.1510840787.git-series.knut.omang@oracle.com> <1510852186.31559.37.camel@perches.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) Mime-Version: 1.0 Content-Transfer-Encoding: 8BIT X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2017-11-16 at 09:09 -0800, Joe Perches wrote: > (adding Andrew Morton) > > On Thu, 2017-11-16 at 18:01 +0100, Knut Omang wrote: > > This parameter is intended to be used in a subsequent commit to kbuild to allow > > a convenient way to run checkpatch from make. > > _why_ is this useful? The cover letter and the following documentation patch hopefully makes it clearer.  I realize the cc: list on the cover letter was a little too narrow, sorry about that! > > By accepting comments and multiple lines of commands, the idea is that the > > maintainer or someone else with good knowledge of the code can maintain a file > > per directory and group the different commands into commented sections that can > > serve both as documentation of the current checkpatch status, a way to define > > the line of tolerance (and gradually tighten it as fixes comes in) and as > > documentation of TODOs and dont's if there are well justified exceptions. > > checkpatch can be run any time over individual files > so I don't find this compelling. The problem with that in general is the noise level. What this patch set gives is in short: * a way to filter out the noise to focus on one type of error at the time * the means to automate prevention of reoccurrence of some types of checkpatch  errors that have been removed from a file, even when that file has 100s of checkpatch issues of other types. > Does anyone else? I did subject the set to a couple of internal reviews with positive feedback.  We have also had automated checkin regression testing going with  a similar system for some time. I was just going to improve upon that system when I realized that we should really make it available for the broader community. I hope this helps, thanks, Knut From 1584881854229943357@xxx Thu Nov 23 18:18:38 +0000 2017 X-GM-THRID: 1584366039367167465 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread