All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [patch] rm9200 ethernet driver: board-specific quirk?(csb337)
Date: Fri, 10 Jul 2009 22:39:41 +0200	[thread overview]
Message-ID: <20090710203941.B9CAB832E416@gemini.denx.de> (raw)
In-Reply-To: <20090613145439.GG25406@game.jcrosoft.org>

Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090613145439.GG25406@game.jcrosoft.org> you wrote:
>
> > i dont get it.  the CPP expands into if(0) and unless you have a completely 
> > shitty compiler, gcc will do dead code elimination on it resulting in the same 
> > binary size.
> I've seen to much "shitty version" that does not do it correctly
> so I prefer ot avoid the problem

There are zillions of places that rely on the compiler optimizing away
"if (0) ..." stuff. It is a valid and even recommended C programming
technique.

This is definitely no reason to reject a patch.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Space is big. You just won't believe how vastly, hugely, mind-
bogglingly big it is. I mean, you may think it's a long way down the
road to the drug store, but that's just peanuts to space.
                              -- The Hitchhiker's Guide to the Galaxy

  parent reply	other threads:[~2009-07-10 20:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 18:14 [U-Boot] [patch] rm9200 ethernet driver: board-specific quirk (csb337) David Brownell
2009-06-12 21:30 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-12 22:02   ` David Brownell
2009-06-13 10:26     ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-13 11:13       ` David Brownell
2009-06-13 12:28         ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-13 14:50           ` Mike Frysinger
2009-06-13 14:54             ` [U-Boot] [patch] rm9200 ethernet driver: board-specific quirk?(csb337) Jean-Christophe PLAGNIOL-VILLARD
2009-06-13 15:13               ` Mike Frysinger
2009-06-13 17:19                 ` [U-Boot] [patch] rm9200 ethernet driver: board-specific quirk (csb337) David Brownell
2009-07-10 20:39               ` Wolfgang Denk [this message]
2009-06-12 23:02   ` Ben Warren
2009-06-18  5:14 ` Ben Warren
2009-06-19  6:59   ` David Brownell
2009-06-19  7:01     ` Ben Warren
2009-06-19  7:56       ` Jean-Christophe PLAGNIOL-VILLARD

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=20090710203941.B9CAB832E416@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.