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: cris-allyesconfig (attached as .config)
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=cris 

All errors (new ones prefixed by >>):

   drivers/char/random.c: In function 'credit_entropy_bits':
   drivers/char/random.c:777:1: error: section attribute cannot be specified 
for local variables
   drivers/char/random.c:777:1: error: section attribute cannot be specified 
for local variables
>> drivers/char/random.c:777:1: error: declaration of '__pcpu_unique_lastp' 
>> with no linkage follows extern declaration
   drivers/char/random.c:777:1: note: previous declaration of 
'__pcpu_unique_lastp' was here
   drivers/char/random.c:777:11: error: section attribute cannot be specified 
for local variables
   drivers/char/random.c:777:11: error: section attribute cannot be specified 
for local variables
   drivers/char/random.c:777:11: error: weak declaration of 'lastp' must be 
public
   drivers/char/random.c:777:11: error: declaration of 'lastp' with no linkage 
follows extern declaration
   drivers/char/random.c:777:11: note: previous declaration of 'lastp' was here
   drivers/char/random.c:779:1: error: section attribute cannot be specified 
for local variables
   drivers/char/random.c:779:1: error: section attribute cannot be specified 
for local variables
>> drivers/char/random.c:779:1: error: declaration of '__pcpu_unique_next_pool' 
>> with no linkage follows extern declaration
   drivers/char/random.c:779:1: note: previous declaration of 
'__pcpu_unique_next_pool' was here
   drivers/char/random.c:779:11: error: section attribute cannot be specified 
for local variables
   drivers/char/random.c:779:11: error: section attribute cannot be specified 
for local variables
   drivers/char/random.c:779:11: error: weak declaration of 'next_pool' must be 
public
   drivers/char/random.c:779:11: error: declaration of 'next_pool' with no 
linkage follows extern declaration
   drivers/char/random.c:779:11: note: previous declaration of 'next_pool' was 
here

vim +/__pcpu_unique_lastp +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: .config.gz
Description: Binary data

Reply via email to