All of lore.kernel.org
 help / color / mirror / Atom feed
* [steev:lenovo-x13s-6.16.0-rc5 62/77] kernel/sched/fair.c:90:50: error: 'CONFIG_MIN_BASE_SLICE_NS' undeclared here (not in a function)
@ 2025-07-24  4:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-24  4:12 UTC (permalink / raw)
  To: Steev Klimaszewski; +Cc: oe-kbuild-all

tree:   https://github.com/steev/linux lenovo-x13s-6.16.0-rc5
head:   8a7f181d5501fa73b17dcb76340908f033b61b88
commit: e9c2688b128a46792eb108d001cd0e56b247cf27 [62/77] linux6.15.y-bore5.9.6
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20250724/202507241259.ctbdYsc2-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250724/202507241259.ctbdYsc2-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/202507241259.ctbdYsc2-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/sched/fair.c:90:50: error: 'CONFIG_MIN_BASE_SLICE_NS' undeclared here (not in a function)
      90 | unsigned int sysctl_sched_min_base_slice       = CONFIG_MIN_BASE_SLICE_NS;
         |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/CONFIG_MIN_BASE_SLICE_NS +90 kernel/sched/fair.c

    80	
    81	/*
    82	 * Minimal preemption granularity for CPU-bound tasks:
    83	 *
    84	 * BORE : base_slice = minimum multiple of nsecs_per_tick >= min_base_slice
    85	 * (default min_base_slice = 2000000 constant, units: nanoseconds)
    86	 * EEVDF: default 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds
    87	 */
    88	#ifdef CONFIG_SCHED_BORE
    89	static const unsigned int nsecs_per_tick       = 1000000000ULL / HZ;
  > 90	unsigned int sysctl_sched_min_base_slice       = CONFIG_MIN_BASE_SLICE_NS;
    91	__read_mostly uint sysctl_sched_base_slice     = nsecs_per_tick;
    92	#else // !CONFIG_SCHED_BORE
    93	unsigned int sysctl_sched_base_slice			= 700000ULL;
    94	static unsigned int normalized_sysctl_sched_base_slice	= 700000ULL;
    95	#endif // CONFIG_SCHED_BORE
    96	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-24  4:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-24  4:12 [steev:lenovo-x13s-6.16.0-rc5 62/77] kernel/sched/fair.c:90:50: error: 'CONFIG_MIN_BASE_SLICE_NS' undeclared here (not in a function) kernel test robot

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.