tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: ab8573e771fc00691b546bfb1b7432ed6b19f9bc commit: 4c89400decb94cca83aae81bf0838c6a85bb8161 [3058/3058] interference: Add sched wakelat interference track support config: loongarch-randconfig-001-20251029 (https://download.01.org/0day-ci/archive/20251029/202510290340.h9hoFwT6-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d1c086e82af239b245fe8d7832f2753436634990) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251029/202510290340.h9hoFwT6-lkp@i...) 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/202510290340.h9hoFwT6-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from <built-in>:3: In file included from include/linux/compiler_types.h:150: include/linux/compiler-clang.h:33:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] 33 | #define __SANITIZE_ADDRESS__ | ^ <built-in>:368:9: note: previous definition is here 368 | #define __SANITIZE_ADDRESS__ 1 | ^ In file included from kernel/sched/grid/qos.c:27: In file included from include/../kernel/sched/sched.h:2131:
include/../kernel/sched/stats.h:156:20: error: no member named 'last_waking' in 'struct sched_info' 156 | if (t->sched_info.last_waking) | ~~~~~~~~~~~~~ ^ include/../kernel/sched/stats.h:159:16: error: no member named 'last_waking' in 'struct sched_info' 159 | t->sched_info.last_waking = sched_clock(); | ~~~~~~~~~~~~~ ^ include/../kernel/sched/stats.h:166:21: error: no member named 'last_waking' in 'struct sched_info' 166 | if (!t->sched_info.last_waking) | ~~~~~~~~~~~~~ ^ include/../kernel/sched/stats.h:170:30: error: no member named 'last_waking' in 'struct sched_info' 170 | delta = now - t->sched_info.last_waking; | ~~~~~~~~~~~~~ ^ include/../kernel/sched/stats.h:171:16: error: no member named 'last_waking' in 'struct sched_info' 171 | t->sched_info.last_waking = 0; | ~~~~~~~~~~~~~ ^ 1 warning and 5 errors generated.
vim +156 include/../kernel/sched/stats.h 153 154 static inline void ifs_task_waking(struct task_struct *t) 155 {
156 if (t->sched_info.last_waking) 157 return; 158 159 t->sched_info.last_waking = sched_clock(); 160 } 161
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki