Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965289AbdLRQrw (ORCPT ); Mon, 18 Dec 2017 11:47:52 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:33952 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933687AbdLRQrq (ORCPT ); Mon, 18 Dec 2017 11:47:46 -0500 Message-ID: <1513615286.31439.178.camel@oracle.com> Subject: Re: [PATCH v2 0/5] Support for generalized use of make C={1,2} via a wrapper program From: Knut Omang To: Joe Perches , Jason Gunthorpe Cc: Stephen Hemminger , linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Nicolas Palix , Jonathan Corbet , Santosh Shilimkar , Matthew Wilcox , cocci@systeme.lip6.fr, rds-devel@oss.oracle.com, linux-rdma@vger.kernel.org, linux-doc@vger.kernel.org, Doug Ledford , =?ISO-8859-1?Q?Micka=EBl_Sala=FCn?= , Shuah Khan , linux-kbuild@vger.kernel.org, Michal Marek , Julia Lawall , John Haxby , =?ISO-8859-1?Q?=C5smund_=D8stvold?= , Masahiro Yamada , Kees Cook , netdev@vger.kernel.org, Gilles Muller , "David S. Miller" , "Paul E. McKenney" , =?ISO-8859-1?Q?H=E5kon?= Bugge , Andy Whitcroft , "Levin, Alexander (Sasha Levin)" Date: Mon, 18 Dec 2017 17:41:26 +0100 In-Reply-To: <1513611003.31581.71.camel@perches.com> References: <20171216094745.5e41ac51@xeon-e3> <1513476850.31439.108.camel@oracle.com> <20171218050043.GA1307@ziepe.ca> <1513576817.31581.58.camel@perches.com> <1513602315.22938.49.camel@oracle.com> <1513611003.31581.71.camel@perches.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=8749 signatures=668649 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-1712180221 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 35 On Mon, 2017-12-18 at 07:30 -0800, Joe Perches wrote: > On Mon, 2017-12-18 at 14:05 +0100, Knut Omang wrote: > > > Here is a list of the checkpatch messages for drivers/infiniband > > > sorted by type. > > > > > > Many of these might be corrected by using > > > > > > $ ./scripts/checkpatch.pl -f --fix-inplace --types= \ > > > $(git ls-files drivers/infiniband/) > > > > Yes, and I already did that work piece by piece for individual types, > > just to test the runchecks tool, and want to post that set once the > > runchecks script and Makefile changes itself are in, > > I think those are independent of any runcheck tool changes and > could be posted now. In general, don't keep patches in a local > tree waiting on some other unrelated patch. It becomes related in that the runchecks.cfg file is updated in all the patches to keep 'make C=2' run with 0 errors while enabling more checks. I think they serve well as examples of how a workflow with runchecks could be. > Just fyi: > > There is a script that helps automate checkpatch "by-type" conversions > with compilation, .o difference checking, and git commit editing. > > https://lkml.org/lkml/2014/7/11/794 oh - good to know - seems it would have been a good help during my little exercise.. Thanks, Knut