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

From: Borislav Petkov
Date: Tue Oct 30 2012 - 12:44:14 EST


On Sun, Oct 28, 2012 at 03:57:13PM -0500, danielfsantos@xxxxxxx 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@xxxxxxxxx>

Acked-by: Borislav Petkov <bp@xxxxxxxxx>

--
Regards/Gruss,
Boris.
--
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/