* [tglx-devel:rseq/cid 60/64] kernel/sched/sched.h:3595:30: error: expected expression
@ 2025-10-16 1:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-16 1:06 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git rseq/cid
head: e196d67a03daa4beb27afc2961845664ac3ef3d5
commit: a430e9c31893c17c9c13bcef7dfbdad1aa857761 [60/64] sched/mmcid: Provide new scheduler CID mechanism
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20251016/202510160847.giQBj835-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251016/202510160847.giQBj835-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/202510160847.giQBj835-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/core.c:89:
>> kernel/sched/sched.h:3595:30: error: expected expression
3595 | for (; cid == MM_CID_UNSET; cpu_relax())
| ^
arch/s390/include/asm/processor.h:291:21: note: expanded from macro 'cpu_relax'
291 | #define cpu_relax() barrier()
| ^
include/linux/compiler.h:85:20: note: expanded from macro 'barrier'
85 | # define barrier() __asm__ __volatile__("": : :"memory")
| ^
In file included from kernel/sched/core.c:89:
>> kernel/sched/sched.h:3595:30: error: expected ')'
arch/s390/include/asm/processor.h:291:21: note: expanded from macro 'cpu_relax'
291 | #define cpu_relax() barrier()
| ^
include/linux/compiler.h:85:20: note: expanded from macro 'barrier'
85 | # define barrier() __asm__ __volatile__("": : :"memory")
| ^
kernel/sched/sched.h:3595:6: note: to match this '('
3595 | for (; cid == MM_CID_UNSET; cpu_relax())
| ^
2 errors generated.
vim +3595 kernel/sched/sched.h
3590
3591 static inline unsigned int mm_get_cid(struct mm_struct *mm)
3592 {
3593 unsigned int cid = __mm_get_cid(mm, READ_ONCE(mm->mm_cid.max_cids));
3594
> 3595 for (; cid == MM_CID_UNSET; cpu_relax())
3596 cid = __mm_get_cid(mm, nr_cpu_ids);
3597
3598 return cid;
3599 }
3600
--
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-10-16 1:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16 1:06 [tglx-devel:rseq/cid 60/64] kernel/sched/sched.h:3595:30: error: expected expression 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.