From: David Woodhouse <dwmw2@infradead.org>
To: tglx@linutronix.de
Cc: manningc2@actrix.gen.nz, m.neiger@synergie-inf.com,
"'linux-mtd@lists.infradead.org'" <linux-mtd@lists.infradead.org>
Subject: Re: 16 NANDS
Date: Wed, 08 Jan 2003 08:14:59 +0000 [thread overview]
Message-ID: <4752.1042013699@passion.cambridge.redhat.com> (raw)
In-Reply-To: <200301072004.45259.tglx@linutronix.de>
tglx@linutronix.de said:
> The functions are not that different, but it's better to have a
> little duplicated code instead of if (buswitdh == x) then else....
> crap.
Bear in mind that if/then/else crap can be hidden inside #defines fairly
effectively, and optimises away perfectly in the case where you compile for
only one buswidth -- unlike out-of-line function calls.
What Nico did with cfi_read() et al is worth considering.
--
dwmw2
next prev parent reply other threads:[~2003-01-08 7:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-06 22:42 16 NANDS Marc Neiger
2003-01-06 23:03 ` Charles Manning
2003-01-07 19:04 ` Thomas Gleixner
2003-01-08 8:14 ` David Woodhouse [this message]
2003-01-08 20:23 ` Thomas Gleixner
-- strict thread matches above, loose matches on Subject: below --
2003-01-08 21:23 Marc Neiger
2003-01-08 22:03 ` Thomas Gleixner
2003-01-03 10:27 Marc Neiger
2003-01-06 21:15 ` Charles Manning
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=4752.1042013699@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=m.neiger@synergie-inf.com \
--cc=manningc2@actrix.gen.nz \
--cc=tglx@linutronix.de \
/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