lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006041056.6hDE2nOc%lkp@intel.com>
Date:   Thu, 4 Jun 2020 10:50:58 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Peter, Zijlstra," <peterz@...radead.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:x86/entry 29/29] include/linux/cpumask.h:894:9: error: implicit
 declaration of function 'arch_test_bit'; did you mean

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head:   02da62886d81c6683fbd6a09aec02b2c050d5827
commit: 02da62886d81c6683fbd6a09aec02b2c050d5827 [29/29] x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()
config: arc-randconfig-r024-20200603 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 02da62886d81c6683fbd6a09aec02b2c050d5827
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/linux/rcupdate.h:31,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/arc/kernel/asm-offsets.c:6:
include/linux/cpumask.h: In function 'arch_cpu_online':
>> include/linux/cpumask.h:894:9: error: implicit declaration of function 'arch_test_bit'; did you mean 'test_bit'? [-Werror=implicit-function-declaration]
894 |  return arch_test_bit(cpu, cpumask_bits(cpu_online_mask));
|         ^~~~~~~~~~~~~
|         test_bit
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:100: arch/arc/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1149: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2

vim +894 include/linux/cpumask.h

   890	
   891	#if NR_CPUS > 1
   892	static __always_inline bool arch_cpu_online(int cpu)
   893	{
 > 894		return arch_test_bit(cpu, cpumask_bits(cpu_online_mask));
   895	}
   896	#else
   897	static __always_inline bool arch_cpu_online(int cpu)
   898	{
   899		return cpu == 0;
   900	}
   901	#endif
   902	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (24724 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ