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

From: Stephen Rothwell
Date: Wed Aug 07 2019 - 19:31:57 EST


Hi Rikard,

On Wed, 7 Aug 2019 13:29:17 +0200 Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx> wrote:
>
> Hi Stephen, Andrew
>
> On Wed, Aug 07, 2019 at 06:00:41PM +1000, Stephen Rothwell wrote:
> > 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
>
> 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.
--
Cheers,
Stephen Rothwell

Attachment: pgplDB0p1p1c5.pgp
Description: OpenPGP digital signature