All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:rseq/cid 60/64] kernel/sched/sched.h:3595:30: error: expected expression
Date: Thu, 16 Oct 2025 09:06:49 +0800	[thread overview]
Message-ID: <202510160847.giQBj835-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-10-16  1:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202510160847.giQBj835-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.