lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1200006481.29897.48.camel@imap.mvista.com>
Date:	Thu, 10 Jan 2008 15:08:01 -0800
From:	Daniel Walker <dwalker@...sta.com>
To:	Paolo Ciarrocchi <paolo.ciarrocchi@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [x86] list of style offenders


On Thu, 2008-01-10 at 23:35 +0100, Paolo Ciarrocchi wrote:
> On Jan 10, 2008 9:03 PM, Daniel Walker <dwalker@...sta.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
> 
> On that tree checkpatch reports:
> total: 5 errors, 54 warnings, 1643 lines checked
> 
> > ./arch/x86/kernel/kprobes_64.c
> >                 total: 528 errors, 9 warnings, 749 lines checked
> 
> total: 0 errors, 0 warnings, 1 lines checked

I pulled the tree your working with , and it's got mostly the same
issues .. Are you sure your running the commands properly?

The "lines checked" values that you listed looks wrong .. A few you
listed as "0 lines checked" , or "1 lines checked" .. Which can't be
right..

The git logs also show that arch/x86/math-emu/fpu_trig.c hasn't been
modified since it was pull in on Oct. 11 ..

Daniel



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ