Re: [PATCH] rfkill: Regulator consumer driver for rfkill

From: Bernd Petrovitsch
Date: Thu Apr 07 2011 - 06:17:44 EST


On Mit, 2011-04-06 at 20:46 +0200, Johannes Berg wrote:
> On Wed, 2011-04-06 at 20:12 +0200, Paul Bolle wrote:
[...]
> > But doesn't
> > depends on RFKILL || !RFKILL
> >
> > always evaluate to true when running "make *config"? (Even if RFKILL is
> > an unknown symbol when that expression is parsed!)
>
> No, it will not, you're forgetting that these things are tristate.

Boolean operators for tristate logic isn't intuitive at all IMHO.

Bernd
--
Bernd Petrovitsch Email : bernd@xxxxxxxxxxxxxxxxxxx
LUGA : http://www.luga.at

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/