* [sean-jc:sink 91/184] kernel/sched/wait.c:57:41: error: expected ';' at end of declaration
@ 2025-04-23 22:36 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-23 22:36 UTC (permalink / raw)
To: Sean Christopherson; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-23 22:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 22:36 [sean-jc:sink 91/184] kernel/sched/wait.c:57:41: error: expected ';' at end of declaration kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox