[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48382911.8090807@goop.org>
Date: Sat, 24 May 2008 15:41:21 +0100
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Willy Tarreau <w@....eu>
CC: Sam Ravnborg <sam@...nborg.org>, "H. Peter Anvin" <hpa@...or.com>,
Steve French <smfrench@...il.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: kernel coding style for if ... else which cross #ifdef
Willy Tarreau wrote:
> You still have the possibility to use the "-0" trick :
>
> if (CFG_THINGY_LIMIT && x > (CONFIG_THINGY_LIMIT-0)) {...}
>
Oh, that's cute in a vile way. I hadn't seen it before.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists