[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120412100619.9cbd13da03b2a7ecac143392@canb.auug.org.au>
Date: Thu, 12 Apr 2012 10:06:19 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Miller <davem@...emloft.net>
Cc: paul.gortmaker@...driver.com, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, tony@...eyournoodle.com, mmarek@...e.cz,
lacombar@...il.com
Subject: Re: [PATCH 3/5] drivers/net: remove IS_ENABLED usage from wiznet
drivers
Hi Dave,
On Wed, 11 Apr 2012 19:54:44 -0400 (EDT) David Miller <davem@...emloft.net> wrote:
>
> From: Paul Gortmaker <paul.gortmaker@...driver.com>
> Date: Wed, 11 Apr 2012 19:50:55 -0400
>
> > The use of IS_ENABLED in C code (vs just in CPP #if directives)
> > causes us to carry the burden of a huge autoconf.h file. It is
> > also misleading in that a casual inspection of the code would
> > leave one thinking that the if statements were evaluated at
> > runtime, when TX_FLOW is a Kconfig bool and hence evaluated
> > at configure time as an either/or.
> >
> > Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.com>
>
> Want me to toss this into net-next?
Sure - *after* it has been reviewed, and tested :-)
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists