[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200730090828.2349e159@canb.auug.org.au>
Date: Thu, 30 Jul 2020 09:08:28 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Willy Tarreau <w@....eu>
Subject: linux-next: build failure after merge of the origin tree
Hi all,
After merging the origin tree, today's linux-next build (x86_64
allmodconfig) failed like this:
In file included from include/asm-generic/percpu.h:7,
from arch/x86/include/asm/percpu.h:556,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/seqlock.h:36,
from include/linux/time.h:6,
from include/linux/stat.h:19,
from include/linux/module.h:13,
from arch/x86/crypto/glue_helper.c:13:
include/linux/random.h:123:24: error: variable 'net_rand_state' with 'latent_entropy' attribute must not be local
123 | DECLARE_PER_CPU(struct rnd_state, net_rand_state) __latent_entropy;
| ^~~~~~~~~
include/linux/percpu-defs.h:88:38: note: in definition of macro 'DECLARE_PER_CPU_SECTION'
88 | extern __PCPU_ATTRS(sec) __typeof__(type) name
| ^~~~
include/linux/random.h:123:1: note: in expansion of macro 'DECLARE_PER_CPU'
123 | DECLARE_PER_CPU(struct rnd_state, net_rand_state) __latent_entropy;
| ^~~~~~~~~~~~~~~
Caused by commit
f227e3ec3b5c ("random32: update the net random state on interrupt and activity")
I have reverted that commit for today.
In case it matters:
$ x86_64-linux-gnu-gcc --version
x86_64-linux-gnu-gcc (Debian 9.3.0-13) 9.3.0
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists