mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: Jonathan McDowell <noodles@earth.li>,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add Amstrad Delta NAND support.
Date: Fri, 19 May 2006 11:26:31 +0100	[thread overview]
Message-ID: <1148034391.3875.109.camel@pmac.infradead.org> (raw)
In-Reply-To: <20060519100303.GB17270@wohnheim.fh-wedel.de>

On Fri, 2006-05-19 at 12:03 +0200, Jörn Engel wrote: 
> > > And please create a structure containing both struct mtd_info and
> > > struct nand_chip.  Then use sizeof(that structure)...
> > 
> > This format is used throughout the drivers/mtd/nand/ directory. I'd
> > suggest it'd be more appropriate to have a separate patch that did this
> > for all of them if it's desired, rather than having each driver do its
> > own thing.

It's fine as-is. The claim that it's nicer to introduce an extra
datatype just for the allocation is subjective, at best.

> > Agreed on all the spacing comments you raised; hangovers from toto.c
> > that I used as a base.
> 
> We have suboptimal code in the kernel, true.  I still prefer new code
> to have slightly higher standards, so the overall quality improves
> slowly.  Therefore, pointing to the other ugly duckling is not an
> excuse for being mud-covered. ;)
> 
> But you are right.  The other ducklings could use a bath as well.

They already got it.

-- 
dwmw2


  reply	other threads:[~2006-05-19 10:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18 16:09 Jonathan McDowell
2006-05-18 16:57 ` Jörn Engel
2006-05-19  9:01   ` Jonathan McDowell
2006-05-19  9:32     ` David Vrabel
2006-05-19 10:01       ` Jonathan McDowell
2006-05-19 10:03     ` Jörn Engel
2006-05-19 10:26       ` David Woodhouse [this message]
2006-05-20  0:10         ` Segher Boessenkool
2006-05-19 22:20 ` Jonathan McDowell
2006-05-20 14:10 ` Jonathan McDowell
2006-05-21 17:12   ` David Woodhouse

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=1148034391.3875.109.camel@pmac.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=joern@wohnheim.fh-wedel.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=noodles@earth.li \
    /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

all inboxes | Powered by JetHome®