Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 3 messages Aug 7, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

Hi Stephen, Andrew

Quoted 11 lines · Stephen Rothwell

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) \

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
#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

Please drop this patch, it has additional issues that needs to be fixed in another revision.

Rikard

#2 lore raw

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_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

Quoted 8 lines
Quoted 5 lines

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.

I have removed it from linux-next for today.

Signature · 2 lines
Cheers,
Stephen Rothwell