build_bugh-add-wrapper-for-_static_assert.patch removed from -mm tree
A message that is not in the archive (sent off-list or not yet received): 20190208215824.zhXpv%[email protected]
include/linux/build_bug.h
Quoted 5 lines · On Fri, Feb 08, 2019 at 01:58:24PM -0800, [email protected] wrote:
include/linux/build_bug.h renamed from include/linux/build_bug.h~build_bugh-add-wrapper-for-_static_assert +2
-0+#define static_assert (expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) +#define __static_assert (expr, msg, ...) _Static_assert(expr, "" msg "")
I suggest adding it to assert.h like userspace does:
#include <assert.h>