linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: kbuild-all@lists.01.org, linux-pci@vger.kernel.org
Subject: [pci:pci/review/cpumask 1/5] arch/arm64/include/asm/numa.h:26:9: error: 'node_to_cpumask_map' undeclared; did you mean 'free_cpumask_var'?
Date: Tue, 11 Feb 2020 03:49:13 +0800	[thread overview]
Message-ID: <202002110300.MBzTssze%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3569 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/review/cpumask
head:   f926e1b19abb750caa57840ff2e76afabae33ce1
commit: 7d9abc5d26ccdc68f2839c75f99af0e6cbca2e73 [1/5] Unify node_to_cpumask_map
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 7d9abc5d26ccdc68f2839c75f99af0e6cbca2e73
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/arm64/include/asm/mmzone.h:7:0,
                    from include/linux/mmzone.h:984,
                    from include/linux/gfp.h:6,
                    from include/linux/xarray.h:14,
                    from include/linux/radix-tree.h:18,
                    from include/linux/idr.h:15,
                    from include/linux/kernfs.h:13,
                    from include/linux/sysfs.h:16,
                    from include/linux/kobject.h:20,
                    from include/linux/of.h:17,
                    from include/linux/irqdomain.h:35,
                    from include/linux/acpi.h:13,
                    from include/acpi/apei.h:9,
                    from include/acpi/ghes.h:5,
                    from include/linux/arm_sdei.h:8,
                    from arch/arm64/kernel/asm-offsets.c:10:
   arch/arm64/include/asm/numa.h: In function 'cpumask_of_node':
>> arch/arm64/include/asm/numa.h:26:9: error: 'node_to_cpumask_map' undeclared (first use in this function); did you mean 'free_cpumask_var'?
     return node_to_cpumask_map[node];
            ^~~~~~~~~~~~~~~~~~~
            free_cpumask_var
   arch/arm64/include/asm/numa.h:26:9: note: each undeclared identifier is reported only once for each function it appears in
   make[2]: *** [arch/arm64/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2
   25 real  4 user  5 sys  35.82% cpu 	make prepare

vim +26 arch/arm64/include/asm/numa.h

1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  19  
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  20  #ifdef CONFIG_DEBUG_PER_CPU_MAPS
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  21  const struct cpumask *cpumask_of_node(int node);
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  22  #else
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  23  /* Returns a pointer to the cpumask of CPUs on Node 'node'. */
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  24  static inline const struct cpumask *cpumask_of_node(int node)
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  25  {
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08 @26  	return node_to_cpumask_map[node];
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  27  }
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  28  #endif
1a2db300348b79 Ganapatrao Kulkarni 2016-04-08  29  

:::::: The code at line 26 was first introduced by commit
:::::: 1a2db300348b799479d2d22b84d51b27ad0458c7 arm64, numa: Add NUMA support for arm64 platforms.

:::::: TO: Ganapatrao Kulkarni <gkulkarni@caviumnetworks.com>
:::::: CC: Will Deacon <will.deacon@arm.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47113 bytes --]

                 reply	other threads:[~2020-02-10 19:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202002110300.MBzTssze%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=helgaas@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-pci@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).