linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: + add-pselect-ppoll-system-call-implementation-tidy.patch added to -mm tree
       [not found] <200601120105.k0C15QdV021028@shell0.pdx.osdl.net>
@ 2006-01-12  1:15 ` David Woodhouse
  2006-01-12  1:21   ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2006-01-12  1:15 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

On Wed, 2006-01-11 at 17:05 -0800, akpm@osdl.org wrote:
> -                       memcpy(&current->saved_sigmask, &sigsaved, sizeof(sigsaved));
> +                       memcpy(&current->saved_sigmask, &sigsaved,
> +                                       sizeof(sigsaved));


I often use an editor in an 80x25 terminal to edit code, and I object to
this kind of patch because it make the code _harder_ to read on such a
terminal.

In 99.9% of cases, you don't _care_ about double-checking precisely what
the third argument to that memcpy is. You glance at the line of code and
it's obvious what's happening. It's _better_ if it's off the right-hand
side of the screen rather than being moved down to take up a line all of
its own. You just wasted one more of my precious 25 lines.

The same goes for printks, where I've seen people actually break up
strings and move them onto multiple lines. In the common case, we just
don't _care_ -- what fits onto the first 80 columns is _enough_.

Please don't make this kind of change.

-- 
dwmw2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: + add-pselect-ppoll-system-call-implementation-tidy.patch added to -mm tree
  2006-01-12  1:15 ` + add-pselect-ppoll-system-call-implementation-tidy.patch added to -mm tree David Woodhouse
@ 2006-01-12  1:21   ` Andrew Morton
  2006-01-12  1:23     ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2006-01-12  1:21 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-kernel

David Woodhouse <dwmw2@infradead.org> wrote:
>
> It's _better_ if it's off the right-hand
>  side of the screen

umm, not all editors do that.  Some wrap the text, and it looks like crap.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: + add-pselect-ppoll-system-call-implementation-tidy.patch added to -mm tree
  2006-01-12  1:21   ` Andrew Morton
@ 2006-01-12  1:23     ` David Woodhouse
  0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2006-01-12  1:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Wed, 2006-01-11 at 17:21 -0800, Andrew Morton wrote:
> umm, not all editors do that.  Some wrap the text, and it looks like
> crap.

So we go for equal opportunities by making it look like crap for
everyone?

-- 
dwmw2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-12  1:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200601120105.k0C15QdV021028@shell0.pdx.osdl.net>
2006-01-12  1:15 ` + add-pselect-ppoll-system-call-implementation-tidy.patch added to -mm tree David Woodhouse
2006-01-12  1:21   ` Andrew Morton
2006-01-12  1:23     ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).