From: "Carlos Martín" <carlos@cmartin.tk>
To: Denis Vlasenko <vda@ilport.com.ua>
Cc: acx100-devel@lists.sourceforge.net, netdev@vger.kernel.org
Subject: Re: From: Carlos Martц╜n <carlos@cmartin.tk>
Date: Mon, 20 Feb 2006 19:56:07 +0100 [thread overview]
Message-ID: <200602201956.07340.carlos@cmartin.tk> (raw)
In-Reply-To: <200602201730.20908.vda@ilport.com.ua>
On Monday 20 February 2006 16:30, Denis Vlasenko wrote:
> On Sunday 19 February 2006 00:35, Carlos Martin wrote:
> > [PATCH] acxsm: Fix Kconfig option check
> >
> > This check never actually worked because CONFIG_ACX_{ACX,USB} are
> > tristate. With Adrian Bunk's patch to the Kconfig, this works with the
> > _BOOL hidden Kconfig options.
> > Also update error message adding that this shouldn't happen anymore.
>
> Carlos, I didn't apply Adrian's patch to my tree.
>
> I am not sure we want to support every imaginable .config.
> Realistic goal is:
> * allnoconfig must compile
> * allyesconfig must compile
> * allmodconfig must compile
Which doesn't work with your #error condition.
>
> Adrian's patch makes code more obfuscated and it still has one
> corner case (when one choice is 'y' and other is 'm')
>
> If you disagree, please explain why do you want Adrian's patch
> applied.
It at least compiles. Your tree doesn't compile. It always tells me that I
didn't choose either USB or PCI support which is incorrect.
I've just tested this and CONFIG_ACX_{PCI,USB} only get defined if they are
set to Y. If they're set to M, it doesn't, so it spews out the warning.
I don't like Adrian's patch, and I don't think it's the right way to do it,
but it's what we have that works. I'll try to think of something a bit more
elegant meanwhile.
cmn
--
Carlos Martín Nieto | http://www.cmartin.tk
Hobbyist programmer |
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
next prev parent reply other threads:[~2006-02-20 18:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-18 22:35 From: Carlos Martín <carlos@cmartin.tk> Carlos Martin
2006-02-18 22:38 ` From: Carlos MartÃn <carlos@cmartin.tk> Carlos Martín
2006-02-20 15:30 ` From: Carlos Martц╜n <carlos@cmartin.tk> Denis Vlasenko
2006-02-20 18:56 ` Carlos Martín [this message]
2006-02-21 6:17 ` Denis Vlasenko
2006-02-21 14:31 ` Carlos Martín
2006-02-21 19:26 ` From: Carlos Mart??n <carlos@cmartin.tk> Christoph Hellwig
2006-02-21 20:24 ` Carlos Martín
2006-02-21 20:32 ` Christoph Hellwig
2006-02-21 21:03 ` Carlos Martín
2006-02-22 14:36 ` Christoph Hellwig
2006-02-22 15:06 ` Carlos Martín
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=200602201956.07340.carlos@cmartin.tk \
--to=carlos@cmartin.tk \
--cc=acx100-devel@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
--cc=vda@ilport.com.ua \
/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;
as well as URLs for NNTP newsgroup(s).