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] [day] [month] [year] [list]
Message-ID: <202510181259.vccVb2DD-lkp@intel.com>
Date: Sat, 18 Oct 2025 12:36:13 +0800
From: kernel test robot <lkp@...el.com>
To: Pingfan Liu <piliu@...hat.com>, cgroups@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Pingfan Liu <piliu@...hat.com>,
	Waiman Long <longman@...hat.com>, Tejun Heo <tj@...nel.org>,
	Johannes Weiner <hannes@...xchg.org>,
	Michal Koutný <mkoutny@...e.com>,
	Ingo Molnar <mingo@...hat.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Juri Lelli <juri.lelli@...hat.com>,
	Pierre Gondois <pierre.gondois@....com>,
	Vincent Guittot <vincent.guittot@...aro.org>,
	Dietmar Eggemann <dietmar.eggemann@....com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
	Valentin Schneider <vschneid@...hat.com>
Subject: Re: [PATCHv3] sched/deadline: Walk up cpuset hierarchy to decide
 root domain when hot-unplug

Hi Pingfan,

kernel test robot noticed the following build errors:

[auto build test ERROR on tj-cgroup/for-next]
[also build test ERROR on tip/sched/core tip/master linus/master v6.18-rc1 next-20251017]
[cannot apply to tip/auto-latest]
[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/Pingfan-Liu/sched-deadline-Walk-up-cpuset-hierarchy-to-decide-root-domain-when-hot-unplug/20251017-202902
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next
patch link:    https://lore.kernel.org/r/20251017122636.17671-1-piliu%40redhat.com
patch subject: [PATCHv3] sched/deadline: Walk up cpuset hierarchy to decide root domain when hot-unplug
config: i386-randconfig-141-20251018 (https://download.01.org/0day-ci/archive/20251018/202510181259.vccVb2DD-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251018/202510181259.vccVb2DD-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510181259.vccVb2DD-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from init/main.c:53:
   include/linux/cpuset.h: In function 'task_get_rd_effective_cpus':
   include/linux/cpuset.h:286:18: error: implicit declaration of function 'housekeeping_cpumask' [-Wimplicit-function-declaration]
     286 |         hk_msk = housekeeping_cpumask(HK_TYPE_DOMAIN);
         |                  ^~~~~~~~~~~~~~~~~~~~
   include/linux/cpuset.h:286:39: error: 'HK_TYPE_DOMAIN' undeclared (first use in this function)
     286 |         hk_msk = housekeeping_cpumask(HK_TYPE_DOMAIN);
         |                                       ^~~~~~~~~~~~~~
   include/linux/cpuset.h:286:39: note: each undeclared identifier is reported only once for each function it appears in
   include/linux/cpuset.h:287:13: error: implicit declaration of function 'housekeeping_enabled' [-Wimplicit-function-declaration]
     287 |         if (housekeeping_enabled(HK_TYPE_DOMAIN)) {
         |             ^~~~~~~~~~~~~~~~~~~~
   In file included from init/main.c:57:
   include/linux/sched/isolation.h: At top level:
>> include/linux/sched/isolation.h:43:37: error: conflicting types for 'housekeeping_cpumask'; have 'const struct cpumask *(enum hk_type)'
      43 | static inline const struct cpumask *housekeeping_cpumask(enum hk_type type)
         |                                     ^~~~~~~~~~~~~~~~~~~~
   include/linux/cpuset.h:286:18: note: previous implicit declaration of 'housekeeping_cpumask' with type 'int()'
     286 |         hk_msk = housekeeping_cpumask(HK_TYPE_DOMAIN);
         |                  ^~~~~~~~~~~~~~~~~~~~
>> include/linux/sched/isolation.h:48:20: error: conflicting types for 'housekeeping_enabled'; have 'bool(enum hk_type)' {aka '_Bool(enum hk_type)'}
      48 | static inline bool housekeeping_enabled(enum hk_type type)
         |                    ^~~~~~~~~~~~~~~~~~~~
   include/linux/cpuset.h:287:13: note: previous implicit declaration of 'housekeeping_enabled' with type 'int()'
     287 |         if (housekeeping_enabled(HK_TYPE_DOMAIN)) {
         |             ^~~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/sched/isolation.h:5,
                    from kernel/cpu.c:13:
   include/linux/cpuset.h: In function 'task_get_rd_effective_cpus':
   include/linux/cpuset.h:286:18: error: implicit declaration of function 'housekeeping_cpumask' [-Wimplicit-function-declaration]
     286 |         hk_msk = housekeeping_cpumask(HK_TYPE_DOMAIN);
         |                  ^~~~~~~~~~~~~~~~~~~~
   include/linux/cpuset.h:286:39: error: 'HK_TYPE_DOMAIN' undeclared (first use in this function); did you mean 'TOPO_TILE_DOMAIN'?
     286 |         hk_msk = housekeeping_cpumask(HK_TYPE_DOMAIN);
         |                                       ^~~~~~~~~~~~~~
         |                                       TOPO_TILE_DOMAIN
   include/linux/cpuset.h:286:39: note: each undeclared identifier is reported only once for each function it appears in
   include/linux/cpuset.h:287:13: error: implicit declaration of function 'housekeeping_enabled' [-Wimplicit-function-declaration]
     287 |         if (housekeeping_enabled(HK_TYPE_DOMAIN)) {
         |             ^~~~~~~~~~~~~~~~~~~~
   include/linux/sched/isolation.h: At top level:
>> include/linux/sched/isolation.h:43:37: error: conflicting types for 'housekeeping_cpumask'; have 'const struct cpumask *(enum hk_type)'
      43 | static inline const struct cpumask *housekeeping_cpumask(enum hk_type type)
         |                                     ^~~~~~~~~~~~~~~~~~~~
   include/linux/cpuset.h:286:18: note: previous implicit declaration of 'housekeeping_cpumask' with type 'int()'
     286 |         hk_msk = housekeeping_cpumask(HK_TYPE_DOMAIN);
         |                  ^~~~~~~~~~~~~~~~~~~~
>> include/linux/sched/isolation.h:48:20: error: conflicting types for 'housekeeping_enabled'; have 'bool(enum hk_type)' {aka '_Bool(enum hk_type)'}
      48 | static inline bool housekeeping_enabled(enum hk_type type)
         |                    ^~~~~~~~~~~~~~~~~~~~
   include/linux/cpuset.h:287:13: note: previous implicit declaration of 'housekeeping_enabled' with type 'int()'
     287 |         if (housekeeping_enabled(HK_TYPE_DOMAIN)) {
         |             ^~~~~~~~~~~~~~~~~~~~


vim +43 include/linux/sched/isolation.h

7863406143d8bb Frederic Weisbecker 2017-10-27  42  
04d4e665a60902 Frederic Weisbecker 2022-02-07 @43  static inline const struct cpumask *housekeeping_cpumask(enum hk_type type)
7863406143d8bb Frederic Weisbecker 2017-10-27  44  {
7863406143d8bb Frederic Weisbecker 2017-10-27  45  	return cpu_possible_mask;
7863406143d8bb Frederic Weisbecker 2017-10-27  46  }
7863406143d8bb Frederic Weisbecker 2017-10-27  47  
04d4e665a60902 Frederic Weisbecker 2022-02-07 @48  static inline bool housekeeping_enabled(enum hk_type type)
0c5f81dad46c90 Wanpeng Li          2019-07-06  49  {
0c5f81dad46c90 Wanpeng Li          2019-07-06  50  	return false;
0c5f81dad46c90 Wanpeng Li          2019-07-06  51  }
0c5f81dad46c90 Wanpeng Li          2019-07-06  52  

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ