[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081028172859.5986359b.akpm@linux-foundation.org>
Date: Tue, 28 Oct 2008 17:28:59 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: David Newall <davidn@...idnewall.com>
Cc: jianjun@...ux.org, cl@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fork.c: fix a problem of code style
On Wed, 22 Oct 2008 03:02:21 +1030
David Newall <davidn@...idnewall.com> wrote:
> Jianjun Kong wrote:
> > - if(max_threads < 20)
> > + if (max_threads < 20)
>
> I thought we didn't bother with trivial style changes like this.
Yes, it's too small:
akpm:/usr/src/25> perl scripts/checkpatch.pl --file kernel/fork.c | grep total
total: 34 errors, 13 warnings, 1689 lines checked
We could merge thousands and thousand of one-line patches like this and
it's all very inefficient.
I'd consider larger patches which cleaned up whole subdirectories.
They're not much fun to maintain but we don't regret these things after
we've done them.
--
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