From: kbuild test robot <lkp@intel.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: kbuild-all@01.org, tytso@mit.edu, linux-kernel@vger.kernel.org,
Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH 2/3] random: Make input to output pool balancing per cpu
Date: Thu, 11 Feb 2016 07:21:36 +0800 [thread overview]
Message-ID: <201602110749.BVCqOL5S%fengguang.wu@intel.com> (raw)
In-Reply-To: <1455145297-30897-3-git-send-email-andi@firstfloor.org>
[-- Attachment #1: Type: text/plain, Size: 10874 bytes --]
Hi Andi,
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v4.5-rc3 next-20160210]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Andi-Kleen/Make-dev-urandom-scalable/20160211-070625
config: x86_64-randconfig-x014-201606 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
In file included from include/asm-generic/percpu.h:6:0,
from arch/x86/include/asm/percpu.h:551,
from arch/x86/include/asm/preempt.h:5,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from include/linux/utsname.h:5,
from drivers/char/random.c:249:
drivers/char/random.c: In function 'credit_entropy_bits':
include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
__PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
>> include/linux/percpu-defs.h:92:26: error: declaration of '__pcpu_unique_lastp' with no linkage follows extern declaration
__PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:91:33: note: previous declaration of '__pcpu_unique_lastp' was here
extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
>> drivers/char/random.c:777:50: error: section attribute cannot be specified for local variables
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:93:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
extern __PCPU_ATTRS(sec) __typeof__(type) name; \
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
>> drivers/char/random.c:777:50: error: section attribute cannot be specified for local variables
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:95:19: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
__typeof__(type) name
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
>> drivers/char/random.c:777:50: error: weak declaration of 'lastp' must be public
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:95:19: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
__typeof__(type) name
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
>> drivers/char/random.c:777:50: error: declaration of 'lastp' with no linkage follows extern declaration
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:95:19: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
__typeof__(type) name
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
drivers/char/random.c:777:50: note: previous declaration of 'lastp' was here
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:93:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
extern __PCPU_ATTRS(sec) __typeof__(type) name; \
^
>> drivers/char/random.c:777:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(struct entropy_store *, lastp) =
^
include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
__PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
>> include/linux/percpu-defs.h:92:26: error: declaration of '__pcpu_unique_next_pool' with no linkage follows extern declaration
__PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
include/linux/percpu-defs.h:91:33: note: previous declaration of '__pcpu_unique_next_pool' was here
extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
^
include/linux/percpu-defs.h:116:2: note: in expansion of macro 'DEFINE_PER_CPU_SECTION'
DEFINE_PER_CPU_SECTION(type, name, "")
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
drivers/char/random.c:779:31: error: section attribute cannot be specified for local variables
static DEFINE_PER_CPU(int, next_pool);
^
include/linux/percpu-defs.h:93:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
extern __PCPU_ATTRS(sec) __typeof__(type) name; \
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
drivers/char/random.c:779:31: error: section attribute cannot be specified for local variables
static DEFINE_PER_CPU(int, next_pool);
^
include/linux/percpu-defs.h:95:19: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
__typeof__(type) name
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
>> drivers/char/random.c:779:31: error: weak declaration of 'next_pool' must be public
static DEFINE_PER_CPU(int, next_pool);
^
include/linux/percpu-defs.h:95:19: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
__typeof__(type) name
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
>> drivers/char/random.c:779:31: error: declaration of 'next_pool' with no linkage follows extern declaration
static DEFINE_PER_CPU(int, next_pool);
^
include/linux/percpu-defs.h:95:19: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
__typeof__(type) name
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
drivers/char/random.c:779:31: note: previous declaration of 'next_pool' was here
static DEFINE_PER_CPU(int, next_pool);
^
include/linux/percpu-defs.h:93:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
extern __PCPU_ATTRS(sec) __typeof__(type) name; \
^
drivers/char/random.c:779:11: note: in expansion of macro 'DEFINE_PER_CPU'
static DEFINE_PER_CPU(int, next_pool);
^
vim +777 drivers/char/random.c
771 * full.
772 * Feed into all pools round robin.
773 */
774 if (entropy_bits > random_write_wakeup_bits &&
775 r->initialized &&
776 r->entropy_total >= 2*random_read_wakeup_bits) {
> 777 static DEFINE_PER_CPU(struct entropy_store *, lastp) =
778 &blocking_pool;
> 779 static DEFINE_PER_CPU(int, next_pool);
780 struct entropy_store *other = &blocking_pool, *last;
781 int np;
782
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24534 bytes --]
next prev parent reply other threads:[~2016-02-10 23:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 23:01 Scalable random patchkit revisited Andi Kleen
2016-02-10 23:01 ` [PATCH 1/3] Make /dev/urandom scalable Andi Kleen
2016-02-10 23:01 ` [PATCH 2/3] random: Make input to output pool balancing per cpu Andi Kleen
2016-02-10 23:21 ` kbuild test robot [this message]
2016-02-10 23:36 ` kbuild test robot
2016-02-10 23:01 ` [PATCH 3/3] random: Add pool name to urandom_read trace point Andi Kleen
-- strict thread matches above, loose matches on Subject: below --
2016-03-01 5:17 [PATCH 1/3] Make /dev/urandom scalable Andi Kleen
2016-03-01 5:17 ` [PATCH 2/3] random: Make input to output pool balancing per cpu Andi Kleen
2015-10-06 22:05 [PATCH 1/3] Make /dev/urandom scalable Andi Kleen
2015-10-06 22:05 ` [PATCH 2/3] random: Make input to output pool balancing per cpu Andi Kleen
2015-10-06 22:18 ` kbuild test robot
2015-09-24 17:19 Updated scalable urandom patchkit Andi Kleen
2015-09-24 17:19 ` [PATCH 2/3] random: Make input to output pool balancing per cpu Andi Kleen
2015-09-22 23:16 [PATCH 1/3] Make /dev/urandom scalable Andi Kleen
2015-09-22 23:16 ` [PATCH 2/3] random: Make input to output pool balancing per cpu Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201602110749.BVCqOL5S%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=ak@linux.intel.com \
--cc=andi@firstfloor.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®