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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 28 May 2022 20:57:24 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yue Zou <zouyue3@...wei.com>, sfr@...b.auug.org.au,
        akpm@...ux-foundation.org, mhiramat@...nel.org,
        rostedt@...dmis.org, ahalaney@...hat.com, vbabka@...e.cz,
        Jason@...c4.com, mark-pk.tsai@...iatek.com,
        linux-kernel@...r.kernel.org
Cc:     kbuild-all@...ts.01.org
Subject: Re: [PATCH -next] smp: Move stub from main.c into smp.h

Hi Yue,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on next-20220527]

url:    https://github.com/intel-lab-lkp/linux/commits/Yue-Zou/smp-Move-stub-from-main-c-into-smp-h/20220528-185146
base:    d3fde8ff50ab265749704bd7fbcf70d35235421f
config: arc-randconfig-r043-20220526 (https://download.01.org/0day-ci/archive/20220528/202205282043.QMZuMrL0-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 11.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
        # https://github.com/intel-lab-lkp/linux/commit/2efe286bd89edfa5448d29a5be89fd54df424c46
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Yue-Zou/smp-Move-stub-from-main-c-into-smp-h/20220528-185146
        git checkout 2efe286bd89edfa5448d29a5be89fd54df424c46
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash lib/

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

All errors (new ones prefixed by >>):

   In file included from include/linux/lockdep.h:14,
                    from include/linux/spinlock.h:62,
                    from include/linux/kref.h:16,
                    from include/linux/mm_types.h:8,
                    from include/linux/buildid.h:5,
                    from include/linux/module.h:14,
                    from lib/test_bitops.c:9:
>> include/linux/smp.h:186:27: error: 'setup_max_cpus' defined but not used [-Werror=unused-const-variable=]
     186 | static const unsigned int setup_max_cpus = NR_CPUS;
         |                           ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/setup_max_cpus +186 include/linux/smp.h

   185	
 > 186	static const unsigned int setup_max_cpus = NR_CPUS;
   187	static inline void setup_nr_cpu_ids(void) { }
   188	static inline void smp_prepare_cpus(unsigned int maxcpus) { }
   189	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ