From: kernel test robot <lkp@intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [sean-jc:sink 91/184] kernel/sched/wait.c:57:41: error: expected ';' at end of declaration
Date: Thu, 24 Apr 2025 06:36:52 +0800 [thread overview]
Message-ID: <202504240606.adqlhlY5-lkp@intel.com> (raw)
tree: https://github.com/sean-jc/linux sink
head: c1ca89c57593906261007798ee8911b57cd71595
commit: e061a317245ac5e48ce480f26cb8bb1e431daa30 [91/184] sched/wait: Add a waitqueue helper for fully exclusive priority waiters
config: x86_64-buildonly-randconfig-002-20250424 (https://download.01.org/0day-ci/archive/20250424/202504240606.adqlhlY5-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250424/202504240606.adqlhlY5-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/202504240606.adqlhlY5-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_utility.c:81:
>> kernel/sched/wait.c:57:41: error: expected ';' at end of declaration
57 | guard(spinlock_irqsave)(&wq_head->lock)
| ^
| ;
1 error generated.
vim +57 kernel/sched/wait.c
49
50 int add_wait_queue_priority_exclusive(struct wait_queue_head *wq_head,
51 struct wait_queue_entry *wq_entry)
52 {
53 struct list_head *head = &wq_head->head;
54
55 wq_entry->flags |= WQ_FLAG_EXCLUSIVE | WQ_FLAG_PRIORITY;
56
> 57 guard(spinlock_irqsave)(&wq_head->lock)
58
59 if (!list_empty(head) &&
60 (list_first_entry(head, typeof(*wq_entry), entry)->flags & WQ_FLAG_PRIORITY))
61 return -EBUSY;
62
63 list_add(&wq_entry->entry, head);
64 return 0;
65 }
66 EXPORT_SYMBOL(add_wait_queue_priority_exclusive);
67
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-04-23 22:37 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=202504240606.adqlhlY5-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=seanjc@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox