Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757755AbYAJWt4 (ORCPT ); Thu, 10 Jan 2008 17:49:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753154AbYAJWtu (ORCPT ); Thu, 10 Jan 2008 17:49:50 -0500 Received: from gateway-1237.mvista.com ([63.81.120.158]:8643 "EHLO gateway-1237.mvista.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752750AbYAJWtt (ORCPT ); Thu, 10 Jan 2008 17:49:49 -0500 Subject: Re: [x86] list of style offenders From: Daniel Walker To: Paolo Ciarrocchi Cc: linux-kernel@vger.kernel.org In-Reply-To: <4d8e3fd30801101447p699a61a1q802fdb769c2b9a71@mail.gmail.com> References: <1199995391.29897.26.camel@imap.mvista.com> <4d8e3fd30801101435l228a0d0ydd0174e4073400e6@mail.gmail.com> <1200004873.29897.40.camel@imap.mvista.com> <4d8e3fd30801101447p699a61a1q802fdb769c2b9a71@mail.gmail.com> Content-Type: text/plain Date: Thu, 10 Jan 2008 14:48:10 -0800 Message-Id: <1200005291.29897.42.camel@imap.mvista.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-2.fc8) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1831 Lines: 41 On Thu, 2008-01-10 at 23:47 +0100, Paolo Ciarrocchi wrote: > On Jan 10, 2008 11:41 PM, Daniel Walker wrote: > > > > On Thu, 2008-01-10 at 23:35 +0100, Paolo Ciarrocchi wrote: > > > On Jan 10, 2008 9:03 PM, Daniel Walker wrote: > > > > > > > > > > > > I was playing with checkpatch.pl ;) .. I made a list of style offenders > > > > inside the arch/x86/ sub-directory. I thought it might be helpful to > > > > prioritize any style clean ups that people might want to do for x86 .. > > > > OTOH some of these might show imperfections in checkpatch.pl .. Either > > > > way I thought it was interesting to review .. > > > > > > > > These are sorted by errors, then warnings.. I only included the first > > > > hundred files which includes about the top %30 of the list .. The > > > > kprobes_64.c error rate is a little miss-leading because several errors > > > > are found on a single line .. > > > > > > I just pulled > > > git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86 mm > > > > > > > ./arch/x86/math-emu/fpu_trig.c > > > > total: 649 errors, 11 warnings, 1845 lines checked > > > > Ok, looks like people have been busy .. I was using Linus's git, which > > was handy at the time I ran the test .. > > Do you have a script aroung checkpatch.pl for collecting the statistics > you posted? If so, I can run it agains the x86 git tree and report the output. I was just about to do that .. It was actually several one-liner type scripts which I strung together .. I'll send and updated list in a bit.. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/