Re: [PATCH v4 7/9] bug.h: Fix BUILD_BUG_ON macro in __CHECKER__

Borislav Petkov
2012-10-30T16:44:25Z

On Sun, Oct 28, 2012 at 03:57:13PM -0500, danielfsantos@att.net wrote:
> When __CHECKER__ is defined, we disable all of the BUILD_BUG.* macros.
> However, BUILD_BUG_ON was evaluating to nothing in this case, and we
> want (0) since this is a function-like macro that will be followed by a
> semicolon.
>
> Signed-off-by: Daniel Santos <daniel.santos@pobox.com>

Acked-by: Borislav Petkov <bp@alien8.de>

--
Regards/Gruss,
Boris.