[openeuler:OLK-6.6 3278/3278] include/linux/xsched.h:265:36: error: field 'css' has incomplete type
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 4552257bd9515ad6f78bd3691c7379beb42dc3cd commit: 43bbefc53356009d3603faa2c6e6a2858f724e4d [3278/3278] xsched: Add XCU control group implementation and its backend in xsched CFS config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20251119/202511191730.FhCbWCm7-lkp@i...) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251119/202511191730.FhCbWCm7-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/202511191730.FhCbWCm7-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/xsched/vstream.c:23:
include/linux/xsched.h:265:36: error: field 'css' has incomplete type 265 | struct cgroup_subsys_state css; | ^~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for ARCH_SUPPORTS_SCHED_SOFT_QUOTA Depends on [n]: CGROUPS [=n] Selected by [y]: - ARM64 [=y] WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y] Selected by [y]: - ARM64 [=y] vim +/css +265 include/linux/xsched.h 261 262 /* Xsched scheduling control group */ 263 struct xsched_group { 264 /* Cgroups controller structure */
265 struct cgroup_subsys_state css; 266 267 /* Control group settings: */ 268 int sched_class; 269 int prio; 270 271 /* Bandwidth setting: shares value set by user */ 272 u64 shares_cfg; 273 u64 shares_cfg_red; 274 u32 weight; 275 u64 children_shares_sum; 276 277 struct xsched_group_xcu_priv perxcu_priv[XSCHED_NR_CUS]; 278 279 /* Groups hierarchcy */ 280 struct xsched_group *parent; 281 struct list_head children_groups; 282 struct list_head group_node; 283 284 spinlock_t lock; 285 286 /* for XSE to move in perxcu */ 287 struct list_head members; 288 }; 289
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot