[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080817175343.GA7238@elte.hu>
Date: Sun, 17 Aug 2008 19:53:43 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
Alexey Dobriyan <adobriyan@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>,
Lars Gullik Bjønnes <larsbj@...lik.net>
Subject: Re: [PATCH] debug: fix BUILD_BUG_ON() for non-constant expressions
* Ingo Molnar <mingo@...e.hu> wrote:
> +#define BUILD_BUG_ON_ZERO2(c) (__BBO(c) - __BBONC(c))
> +#define BUILD_BUG_ON2(c) (void)BUILD_BUG_ON_ZERO(c)
^^^^^^^^^^^^^^^^^
Lars Gullik Bjønnes pointed out that this should have been ZERO2 not
ZERO - but same end result.
Ingo
--
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