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]
Message-ID: <202508101230.2KBZa0Ql-lkp@intel.com>
Date: Sun, 10 Aug 2025 12:52:43 +0800
From: kernel test robot <lkp@...el.com>
To: Menglong Dong <menglong8.dong@...il.com>, alexei.starovoitov@...il.com
Cc: oe-kbuild-all@...ts.linux.dev, mingo@...hat.com, juri.lelli@...hat.com,
	vincent.guittot@...aro.org, dietmar.eggemann@....com,
	rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
	vschneid@...hat.com, ast@...nel.org, daniel@...earbox.net,
	john.fastabend@...il.com, andrii@...nel.org, martin.lau@...ux.dev,
	eddyz87@...il.com, song@...nel.org, yonghong.song@...ux.dev,
	kpsingh@...nel.org, sdf@...ichev.me, haoluo@...gle.com,
	jolsa@...nel.org, jani.nikula@...el.com, simona.vetter@...ll.ch,
	tzimmermann@...e.de, linux-kernel@...r.kernel.org,
	bpf@...r.kernel.org
Subject: Re: [PATCH tip 2/3] sched: make migrate_enable/migrate_disable inline

Hi Menglong,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Menglong-Dong/arch-add-the-macro-COMPILE_OFFSETS-to-all-the-asm-offsets-c/20250810-110846
base:   tip/master
patch link:    https://lore.kernel.org/r/20250810030442.246974-3-dongml2%40chinatelecom.cn
patch subject: [PATCH tip 2/3] sched: make migrate_enable/migrate_disable inline
config: arc-randconfig-001-20250810 (https://download.01.org/0day-ci/archive/20250810/202508101230.2KBZa0Ql-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250810/202508101230.2KBZa0Ql-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/202508101230.2KBZa0Ql-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/sched/core.c:2385:6: warning: no previous prototype for '__migrate_enable' [-Wmissing-prototypes]
    void __migrate_enable(void)
         ^~~~~~~~~~~~~~~~


vim +/__migrate_enable +2385 kernel/sched/core.c

  2384	
> 2385	void __migrate_enable(void)
  2386	{
  2387		struct task_struct *p = current;
  2388		struct affinity_context ac = {
  2389			.new_mask  = &p->cpus_mask,
  2390			.flags     = SCA_MIGRATE_ENABLE,
  2391		};
  2392	
  2393		__set_cpus_allowed_ptr(p, &ac);
  2394	}
  2395	EXPORT_SYMBOL_GPL(__migrate_enable);
  2396	

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