All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Nikola Z. Ivanov" <zlatistiv@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH] x86/topo: Unify srat_detect_node among amd/intel/hygon
Date: Tue, 31 Mar 2026 07:50:54 +0800	[thread overview]
Message-ID: <202603310756.AoXVYvDd-lkp@intel.com> (raw)
In-Reply-To: <20260329120841.2118684-1-zlatistiv@gmail.com>

Hi Nikola,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on tip/x86/core v7.0-rc6 next-20260327]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Nikola-Z-Ivanov/x86-topo-Unify-srat_detect_node-among-amd-intel-hygon/20260330-114947
base:   linus/master
patch link:    https://lore.kernel.org/r/20260329120841.2118684-1-zlatistiv%40gmail.com
patch subject: [RFC PATCH] x86/topo: Unify srat_detect_node among amd/intel/hygon
config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20260331/202603310756.AoXVYvDd-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 2cd67b8b69f78e3f95918204320c3075a74ba16c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260331/202603310756.AoXVYvDd-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603310756.AoXVYvDd-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/s390/kernel/asm-offsets.c:12:
   In file included from include/linux/pgtable.h:6:
   In file included from arch/s390/include/asm/pgtable.h:19:
   In file included from include/linux/radix-tree.h:21:
   In file included from include/linux/xarray.h:16:
   In file included from include/linux/gfp.h:8:
>> include/linux/topology.h:44:30: warning: declaration of 'struct cpuinfo_x86' will not be visible outside of this function [-Wvisibility]
      44 | void srat_detect_node(struct cpuinfo_x86 *c);
         |                              ^
   1 warning generated.
--
   In file included from mm/oom_kill.c:21:
   In file included from include/linux/oom.h:6:
   In file included from include/linux/sched/signal.h:9:
   In file included from include/linux/sched/task.h:13:
   In file included from include/linux/uaccess.h:13:
   In file included from arch/s390/include/asm/uaccess.h:16:
   In file included from include/linux/pgtable.h:6:
   In file included from arch/s390/include/asm/pgtable.h:19:
   In file included from include/linux/radix-tree.h:21:
   In file included from include/linux/xarray.h:16:
   In file included from include/linux/gfp.h:8:
>> include/linux/topology.h:44:30: warning: declaration of 'struct cpuinfo_x86' will not be visible outside of this function [-Wvisibility]
      44 | void srat_detect_node(struct cpuinfo_x86 *c);
         |                              ^
   mm/oom_kill.c:511:28: warning: variable 'oom_reaper_th' set but not used [-Wunused-but-set-global]
     511 | static struct task_struct *oom_reaper_th;
         |                            ^
   2 warnings generated.
--
   In file included from mm/util.c:2:
   In file included from include/linux/mm.h:8:
   In file included from include/linux/gfp.h:8:
>> include/linux/topology.h:44:30: warning: declaration of 'struct cpuinfo_x86' will not be visible outside of this function [-Wvisibility]
      44 | void srat_detect_node(struct cpuinfo_x86 *c);
         |                              ^
   mm/util.c:198:22: warning: variable 'user_buckets' set but not used [-Wunused-but-set-global]
     198 | static kmem_buckets *user_buckets __ro_after_init;
         |                      ^
   2 warnings generated.
--
   scripts/mod/modpost.c:59:13: warning: variable 'extra_warn' set but not used [-Wunused-but-set-global]
      59 | static bool extra_warn;
         |             ^
   1 warning generated.
   In file included from arch/s390/kernel/asm-offsets.c:12:
   In file included from include/linux/pgtable.h:6:
   In file included from arch/s390/include/asm/pgtable.h:19:
   In file included from include/linux/radix-tree.h:21:
   In file included from include/linux/xarray.h:16:
   In file included from include/linux/gfp.h:8:
>> include/linux/topology.h:44:30: warning: declaration of 'struct cpuinfo_x86' will not be visible outside of this function [-Wvisibility]
      44 | void srat_detect_node(struct cpuinfo_x86 *c);
         |                              ^
   1 warning generated.
   In file included from kernel/sched/rq-offsets.c:5:
   In file included from kernel/sched/sched.h:15:
   In file included from include/linux/sched/mm.h:9:
   In file included from include/linux/gfp.h:8:
>> include/linux/topology.h:44:30: warning: declaration of 'struct cpuinfo_x86' will not be visible outside of this function [-Wvisibility]
      44 | void srat_detect_node(struct cpuinfo_x86 *c);
         |                              ^
   1 warning generated.


vim +44 include/linux/topology.h

    42	
    43	int arch_update_cpu_topology(void);
  > 44	void srat_detect_node(struct cpuinfo_x86 *c);
    45	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2026-03-30 23:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-29 12:08 [RFC PATCH] x86/topo: Unify srat_detect_node among amd/intel/hygon Nikola Z. Ivanov
2026-03-30  4:57 ` K Prateek Nayak
2026-04-01 15:41   ` Nikola Z. Ivanov
2026-03-30 23:50 ` kernel test robot
2026-03-30 23:50 ` kernel test robot [this message]
2026-04-02  6:19 ` kernel test robot

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=202603310756.AoXVYvDd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=zlatistiv@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.