Re: [PATCH 2/5] sched: Split out kernel/sched/fair_balance.c from kernel/sched/fair.c
From: kernel test robot
Date: Sun Apr 07 2024 - 06:05:29 EST
Hi Ingo,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/sched/core]
[cannot apply to linux/master linus/master peterz-queue/sched/core v6.9-rc2]
[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/Ingo-Molnar/sched-Split-out-kernel-sched-syscalls-c-from-kernel-sched-core-c/20240407-164646
base: tip/sched/core
patch link: https://lore.kernel.org/r/20240407084319.1462211-3-mingo%40kernel.org
patch subject: [PATCH 2/5] sched: Split out kernel/sched/fair_balance.c from kernel/sched/fair.c
config: arc-defconfig (https://download.01.org/0day-ci/archive/20240407/202404071704.0xE8telk-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240407/202404071704.0xE8telk-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404071704.0xE8telk-lkp@xxxxxxxxx/
All error/warnings (new ones prefixed by >>):
In file included from kernel/sched/core.c:87:
>> kernel/sched/sched.h:3611:22: warning: 'task_h_load' defined but not used [-Wunused-function]
3611 | static unsigned long task_h_load(struct task_struct *p)
| ^~~~~~~~~~~
--
arc-elf-ld: kernel/sched/fair.o: in function `switched_from_fair':
>> fair.c:(.text+0x1f0): undefined reference to `update_tg_load_avg'
>> arc-elf-ld: fair.c:(.text+0x1f0): undefined reference to `update_tg_load_avg'
arc-elf-ld: kernel/sched/fair.o: in function `rq_offline_fair':
>> fair.c:(.text+0x766): undefined reference to `clear_tg_offline_cfs_rqs'
>> arc-elf-ld: fair.c:(.text+0x766): undefined reference to `clear_tg_offline_cfs_rqs'
arc-elf-ld: fair.c:(.text+0x774): undefined reference to `clear_tg_offline_cfs_rqs'
arc-elf-ld: fair.c:(.text+0x774): undefined reference to `clear_tg_offline_cfs_rqs'
arc-elf-ld: kernel/sched/fair.o: in function `switched_to_fair':
fair.c:(.text+0x158a): undefined reference to `update_tg_load_avg'
arc-elf-ld: fair.c:(.text+0x158a): undefined reference to `update_tg_load_avg'
arc-elf-ld: kernel/sched/fair_balance.o: in function `update_load_avg':
>> fair_balance.c:(.text+0x12c8): undefined reference to `update_tg_load_avg'
>> arc-elf-ld: fair_balance.c:(.text+0x12c8): undefined reference to `update_tg_load_avg'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki