From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755026Ab2BESOj (ORCPT ); Sun, 5 Feb 2012 13:14:39 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:38803 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228Ab2BESOh (ORCPT ); Sun, 5 Feb 2012 13:14:37 -0500 Date: Sun, 5 Feb 2012 19:13:50 +0100 From: Ingo Molnar To: Joe Perches Cc: Pekka Enberg , Linus Torvalds , Andy Whitcroft , Andrew Morton , Cyrill Gorcunov , linux-kernel@vger.kernel.org, Pavel Emelyanov , Serge Hallyn , KAMEZAWA Hiroyuki , Kees Cook , Tejun Heo , Andrew Vagin , "Eric W. Biederman" , Alexey Dobriyan , Andi Kleen , KOSAKI Motohiro , "H. Peter Anvin" , Thomas Gleixner , Glauber Costa , Matt Helsley , Eric Dumazet , Vasiliy Kulikov , Valdis.Kletnieks@vt.edu Subject: Re: [PATCH, v2] checkpatch: Warn on code with 6+ tab indentation, remove 80col warning Message-ID: <20120205181349.GA24281@elte.hu> References: <1328311239.21255.24.camel@joe2Laptop> <20120204130330.GA30198@elte.hu> <1328372536.5766.3.camel@joe2Laptop> <20120204180237.GA7682@elte.hu> <1328381300.5996.2.camel@joe2Laptop> <1328383659.7008.7.camel@joe2Laptop> <20120205113821.GA22399@elte.hu> <1328458885.7008.58.camel@joe2Laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1328458885.7008.58.camel@joe2Laptop> User-Agent: Mutt/1.5.21 (2010-09-15) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=AWL,BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Joe Perches wrote: > On Sun, 2012-02-05 at 12:38 +0100, Ingo Molnar wrote: > > > > In practice patch submitters take warnings just as > > seriously. > > In practice, that's not necessarily bad. In practice it *is* bad, and I say that as a maintainer who is receiving many checkpatch 'fixes' on a daily basis. Many checkpatch warnings are legitimate - but the col80 one is bogus in many cases. Bogus warnings pollute the output of the tool, reducing the utility of the *other* warnings. ( GCC frequently made this mistake in the past, emitting dubious warnings by default - it's been getting somewhat better lately. ) So if your patch emits no warning for the col80 thing then that's a step forward in the right direction in my opinion. Thanks, Ingo