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>] [day] [month] [year] [list]
Date:   Mon, 13 Dec 2021 21:23:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kefeng Wang <wangkefeng.wang@...wei.com>
Cc:     kbuild-all@...ts.01.org, wangkefeng.wang@...wei.com,
        weiyongjun1@...wei.com, linux-kernel@...r.kernel.org
Subject: [kevin78:percpu-cleanup 2/4] arch/sparc/kernel/smp_64.c:1644:45:
 error: 'cpu_to_node' undeclared; did you mean 'dev_to_node'?

tree:   https://github.com/kevin78/linux.git percpu-cleanup
head:   ec8bef0e65982bb71c931efddde0fca6418e02ba
commit: 802124ef348edb29320cfba0dc15edb1c1f7f0c1 [2/4] mm: percpu: Add pcpu_fc_cpu_to_node_fn_t typedef
config: sparc64-randconfig-p001-20211212 (https://download.01.org/0day-ci/archive/20211213/202112132105.zCgSs9Zg-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.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/kevin78/linux/commit/802124ef348edb29320cfba0dc15edb1c1f7f0c1
        git remote add kevin78 https://github.com/kevin78/linux.git
        git fetch --no-tags kevin78 percpu-cleanup
        git checkout 802124ef348edb29320cfba0dc15edb1c1f7f0c1
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash

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 >>):

   arch/sparc/kernel/smp_64.c: In function 'setup_per_cpu_areas':
>> arch/sparc/kernel/smp_64.c:1644:45: error: 'cpu_to_node' undeclared (first use in this function); did you mean 'dev_to_node'?
    1644 |                                             cpu_to_node,
         |                                             ^~~~~~~~~~~
         |                                             dev_to_node
   arch/sparc/kernel/smp_64.c:1644:45: note: each undeclared identifier is reported only once for each function it appears in


vim +1644 arch/sparc/kernel/smp_64.c

  1633	
  1634	void __init setup_per_cpu_areas(void)
  1635	{
  1636		unsigned long delta;
  1637		unsigned int cpu;
  1638		int rc = -EINVAL;
  1639	
  1640		if (pcpu_chosen_fc != PCPU_FC_PAGE) {
  1641			rc = pcpu_embed_first_chunk(PERCPU_MODULE_RESERVE,
  1642						    PERCPU_DYNAMIC_RESERVE, 4 << 20,
  1643						    pcpu_cpu_distance,
> 1644						    cpu_to_node,

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ