From: Daniel Walker <dwalker@mvista.com>
To: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [x86] list of style offenders
Date: Thu, 10 Jan 2008 14:48:10 -0800 [thread overview]
Message-ID: <1200005291.29897.42.camel@imap.mvista.com> (raw)
In-Reply-To: <4d8e3fd30801101447p699a61a1q802fdb769c2b9a71@mail.gmail.com>
On Thu, 2008-01-10 at 23:47 +0100, Paolo Ciarrocchi wrote:
> On Jan 10, 2008 11:41 PM, Daniel Walker <dwalker@mvista.com> wrote:
> >
> > On Thu, 2008-01-10 at 23:35 +0100, Paolo Ciarrocchi wrote:
> > > On Jan 10, 2008 9:03 PM, Daniel Walker <dwalker@mvista.com> 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
next prev parent reply other threads:[~2008-01-10 22:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-10 20:03 Daniel Walker
2008-01-10 22:35 ` Paolo Ciarrocchi
2008-01-10 22:41 ` Daniel Walker
2008-01-10 22:47 ` Paolo Ciarrocchi
2008-01-10 22:48 ` Daniel Walker [this message]
2008-01-10 23:08 ` Daniel Walker
2008-01-10 23:30 ` Paolo Ciarrocchi
2008-01-10 23:35 ` Paolo Ciarrocchi
2008-01-10 23:40 ` Paolo Ciarrocchi
2008-01-10 23:43 ` Daniel Walker
2008-01-11 0:01 ` Daniel Walker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1200005291.29897.42.camel@imap.mvista.com \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paolo.ciarrocchi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®