On Wed, 9 Sep 2015 19:43:13 +0000
Matthias Tafelmeier <matthias.tafelme...@gmx.net> wrote:

> +#define STATIC_ASSERT(COND, MSG)                     \
> +{                                                    \
> +     char STATIC_ASSERT##MSG[(COND) ? 1 : -1];       \
> +     (void)STATIC_ASSERT##MSG[0];            \
> +}

If you are going to introduce this, please use same convention
as Linux kernel. ie. BUILD_BUG_ON()

Your code looks like it came out of some other project.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to