Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760202AbdLRSlW (ORCPT ); Mon, 18 Dec 2017 13:41:22 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:51349 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758207AbdLRSlR (ORCPT ); Mon, 18 Dec 2017 13:41:17 -0500 Message-ID: <1513622390.31439.239.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: Bart Van Assche , "joe@perches.com" , "jgg@ziepe.ca" Cc: "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "keescook@chromium.org" , "linux-rdma@vger.kernel.org" , "linux-doc@vger.kernel.org" , "willy@infradead.org" , "nicolas.palix@imag.fr" , "asmund.ostvold@oracle.com" , "john.haxby@oracle.com" , "alexander.levin@verizon.com" , "mchehab@kernel.org" , "haakon.bugge@oracle.com" , "michal.lkml@markovi.net" , "Gilles.Muller@lip6.fr" , "yamada.masahiro@socionext.com" , "mic@digikod.net" , "shuah@kernel.org" , "paulmck@linux.vnet.ibm.com" , "linux-kbuild@vger.kernel.org" , "rds-devel@oss.oracle.com" , "Julia.Lawall@lip6.fr" , "netdev@vger.kernel.org" , "davem@davemloft.net" , "stephen@networkplumber.org" , "cocci@systeme.lip6.fr" , "dledford@redhat.com" , "santosh.shilimkar@oracle.com" , "apw@canonical.com" Date: Mon, 18 Dec 2017 19:39:50 +0100 In-Reply-To: <1513619815.2798.2.camel@wdc.com> References: <20171216094745.5e41ac51@xeon-e3> <1513476850.31439.108.camel@oracle.com> <20171218050043.GA1307@ziepe.ca> <1513576817.31581.58.camel@perches.com> <20171218174604.GA19056@ziepe.ca> <1513619815.2798.2.camel@wdc.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-1712180247 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2123 Lines: 45 On Mon, 2017-12-18 at 17:56 +0000, Bart Van Assche wrote: > On Mon, 2017-12-18 at 10:46 -0700, Jason Gunthorpe wrote: > > On Sun, Dec 17, 2017 at 10:00:17PM -0800, Joe Perches wrote: > > > > > > Today when we run checkers we get so many warnings it is too hard to > > > > make any sense of it. > > > > > > 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/) > > > > How many of these do you think it is worth to fix? > > > > We do get a steady trickle of changes in this topic every cycle. > > > > Is it better to just do a big number of them all at once? Do you have > > an idea how disruptive this kind of work is to the whole patch flow > > eg new patches no longer applying to for-next, backports no longer > > applying, merge conflicts? > > In my opinion patches that only change the coding style and do not change any > functionality are annoying. Before posting a patch that fixes a bug the change > history (git log -p) has to be cheched to figure out which patch introduced > the bug. Patches that only change coding style pollute the change history. I agree with you - the problem is that style issues should not have existed. But when they do it becomes a problem to remove them and a problem to keep them - for instance us who try to be compliant by having style helpers in our editor, we end up having to manually revert old style mistakes back in to avoid making unrelated whitespace changes or similar. I think what we get with this patch set is that there's a way to rein in the issues and to enable some regression testing without enforcing a lot of work or annoying history issues *right away*. That way this problem can be tackled when appropriate for the subsystem in question, and the reason for holding back on some changes can be documented in the local runchecks.cfg file, focusing willing helping hands on the issues considered most important for that subsystem. Thanks, Knut