Re: [x86] is checkpatch.pl broken

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Sunday, December 30, 2007 - 10:22 am

* Cyrill Gorcunov <gorcunov@gmail.com> wrote:


it's certainly acceptable as newly introduced code but only borderline 
better than the original code. I'd suggest to stick to the problem areas 
that checkpatch.pl complains about at the moment - we have really 
obvious bad looking pieces of code that checkpatch.pl reports, and going 
after the borderline cases will only result in coding-style lawyering 
and flamewars, not any genuine increase in code quality ;-)

for example:

  arch/x86/kernel/bootflag.c:

  total: 19 errors, 2 warnings, 98 lines checked

or:

  arch/x86/kernel/apm_32.c:

  total: 56 errors, 31 warnings, 2402 lines checked

and once we have nothing but the borderline cases and if we get really 
bored we can start coding style flamewars ;-)

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[x86] is checkpatch.pl broken, Cyrill Gorcunov, (Tue Dec 25, 10:07 am)
Re: [x86] is checkpatch.pl broken, H. Peter Anvin, (Tue Dec 25, 4:47 pm)
Re: [x86] is checkpatch.pl broken, H. Peter Anvin, (Tue Dec 25, 4:48 pm)
Re: [x86] is checkpatch.pl broken, Cyrill Gorcunov, (Wed Dec 26, 3:38 am)
Re: [x86] is checkpatch.pl broken, H. Peter Anvin, (Wed Dec 26, 10:44 am)
Re: [x86] is checkpatch.pl broken, Cyrill Gorcunov, (Wed Dec 26, 11:15 am)
Re: [x86] is checkpatch.pl broken, Ingo Molnar, (Sun Dec 30, 10:22 am)
Re: [x86] is checkpatch.pl broken, Cyrill Gorcunov, (Sun Dec 30, 11:26 am)
Re: [x86] is checkpatch.pl broken, H. Peter Anvin, (Sun Dec 30, 1:27 pm)
Re: [x86] is checkpatch.pl broken, Cyrill Gorcunov, (Sun Dec 30, 1:59 pm)
Re: [x86] is checkpatch.pl broken, Ingo Molnar, (Sun Dec 30, 2:08 pm)
Re: [x86] is checkpatch.pl broken, Cyrill Gorcunov, (Mon Dec 31, 12:46 am)