linux-next: build warning after merge of the akpm-current tree

From: Stephen Rothwell
Date: Wed Aug 07 2019 - 04:00:49 EST


Hi all,

After merging the akpm-current tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/linux/bits.h:22,
from arch/x86/include/asm/msr-index.h:5,
from arch/x86/boot/cpucheck.c:28:
include/linux/build_bug.h:49: warning: "BUILD_BUG_ON" redefined
#define BUILD_BUG_ON(condition) \

In file included from arch/x86/boot/cpucheck.c:22:
arch/x86/boot/boot.h:31: note: this is the location of the previous definition
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))

Caused by commit

d72f2a993607 ("linux/bits.h: add compile time sanity check of GENMASK inputs")

--
Cheers,
Stephen Rothwell

Attachment: pgp6bhaj0hfPp.pgp
Description: OpenPGP digital signature