From: Andrew Morton <akpm@osdl.org>
To: "David S. Miller" <davem@davemloft.net>
Cc: juhl-lkml@dif.dk, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kernel/module.c has something to hide. (whitespace cleanup)
Date: Tue, 10 May 2005 17:02:46 -0700 [thread overview]
Message-ID: <20050510170246.5be58840.akpm@osdl.org> (raw)
In-Reply-To: <20050510.161907.116353193.davem@davemloft.net>
"David S. Miller" <davem@davemloft.net> wrote:
>
> From: Andrew Morton <akpm@osdl.org>
> Subject: Re: [PATCH] kernel/module.c has something to hide. (whitespace cleanup)
> Date: Tue, 10 May 2005 16:16:57 -0700
>
> > Jesper Juhl <juhl-lkml@dif.dk> wrote:
> > >
> > > - if (b == NULL || already_uses(a, b)) return 1;
> > > + if (b == NULL || already_uses(a, b))
> > > + return 1;
> >
> > There are about 88 squillion of these in the kernel. I think it would be a
> > mistake for me to start taking such patches, sorry.
>
> I disagree. Putting statements on the same line as
> the if statement hides bugs and makes the code harder
> to read.
We all know that, but this means that we spend the next two years fielding
an ongoing dribble of trivial patches which distract from real work.
> Fixing these makes the kernel eaiser to maintain
> and debug.
Well I suppose I could live with a few REALLY REALLY BIG patches to do this
to lots of files, but if it's the old death-by-1000-cuts, I'm gonna call
uncle this time.
next prev parent reply other threads:[~2005-05-11 0:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 23:02 Jesper Juhl
2005-05-10 23:16 ` Andrew Morton
2005-05-10 23:30 ` Jesper Juhl
[not found] ` <20050510.161907.116353193.davem@davemloft.net>
2005-05-11 0:02 ` Andrew Morton [this message]
2005-05-11 0:11 ` Jesper Juhl
2005-05-11 0:23 ` Andrew Morton
[not found] ` <20050510.170946.10291902.davem@davemloft.net>
2005-05-11 0:28 ` Jesper Juhl
2005-05-11 0:29 ` Andrew Morton
2005-05-11 0:38 ` Jesper Juhl
2005-05-11 11:07 ` Paulo Marques
2005-05-11 22:56 ` Adrian Bunk
2005-05-12 12:16 ` Paulo Marques
2005-05-12 13:36 ` Paulo Marques
2005-05-12 17:26 ` Jesper Juhl
2005-05-12 18:06 ` Hugh Dickins
2005-05-11 1:01 ` Tom Duffy
2005-05-11 9:04 ` Adrian Bunk
[not found] <42Mbg-Tq-25@gated-at.bofh.it>
[not found] ` <42MXA-1zI-3@gated-at.bofh.it>
[not found] ` <42MXA-1zI-1@gated-at.bofh.it>
[not found] ` <42Nh3-1M8-17@gated-at.bofh.it>
[not found] ` <42Nh3-1M8-15@gated-at.bofh.it>
2005-05-11 23:47 ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
2005-05-12 4:00 ` Nick Piggin
2005-05-12 5:16 ` Bodo Eggert
2005-05-12 8:41 ` Jesper Juhl
2005-05-12 8:47 ` Andrew Morton
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=20050510170246.5be58840.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=davem@davemloft.net \
--cc=juhl-lkml@dif.dk \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome