linux-next: build warning after merge of the akpm-current tree
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")
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen, Andrew
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the akpm-current tree, today's linux-next build (
x86_64allmodconfig) 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
#defineBUILD_BUG_ON(condition)\
Quoted 11 lines
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
#defineBUILD_BUG_ON(condition)((void)sizeof(char[1 - 2*!!(condition)]))Caused by commit
d72f2a993607("linux/bits.h: add compile time sanity check of GENMASK inputs")Signature · 2 lines
Cheers, Stephen Rothwell
Please drop this patch, it has additional issues that needs to be fixed in another revision.
Rikard
Hi Rikard,
Quoted 21 lines · On Wed, 7 Aug 2019 13:29:17 +0200 Rikard Falkeborn…
Hi Stephen, Andrew
Quoted 17 lines · Stephen Rothwell
Hi all,
After merging the akpm-current tree, today's linux-next build (
x86_64allmodconfig) 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
#defineBUILD_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
#defineBUILD_BUG_ON(condition)((void)sizeof(char[1 - 2*!!(condition)]))Caused by commit
Quoted 8 lines
Quoted 5 lines
d72f2a993607("linux/bits.h: add compile time sanity check of GENMASK inputs")Signature · 2 lines
Cheers, Stephen RothwellPlease drop this patch, it has additional issues that needs to be fixed in another revision.
I have removed it from linux-next for today.
Signature · 2 lines
Cheers, Stephen Rothwell