* [tglx-devel:sched/hrtick 35/48] kernel/entry/common.c:53:30: error: too many arguments to function 'rseq_grant_slice_extension'
@ 2026-02-24 13:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-24 13:13 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: oe-kbuild-all, Thomas Gleixner
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git sched/hrtick
head: 27cd0d3a6b3db913813a2ead85957bf4dce21e04
commit: cfff40a7c0b95b3942ae221617bb5f4b09994f19 [35/48] entry: Prepare for deferred hrtimer rearming
config: x86_64-buildonly-randconfig-006-20260224 (https://download.01.org/0day-ci/archive/20260224/202602242106.dMfiUf6D-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260224/202602242106.dMfiUf6D-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/202602242106.dMfiUf6D-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/entry/common.c: In function '__exit_to_user_mode_loop':
>> kernel/entry/common.c:53:30: error: too many arguments to function 'rseq_grant_slice_extension'
53 | if (!rseq_grant_slice_extension(ti_work, TIF_SLICE_EXT_DENY))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/irq-entry-common.h:8,
from kernel/entry/common.c:3:
include/linux/rseq_entry.h:791:20: note: declared here
791 | static inline bool rseq_grant_slice_extension(bool work_pending) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/rseq_grant_slice_extension +53 kernel/entry/common.c
40
41 static __always_inline unsigned long __exit_to_user_mode_loop(struct pt_regs *regs,
42 unsigned long ti_work)
43 {
44 /*
45 * Before returning to user space ensure that all pending work
46 * items have been completed.
47 */
48 while (ti_work & EXIT_TO_USER_MODE_WORK_LOOP) {
49
50 local_irq_enable_exit_to_user(ti_work);
51
52 if (ti_work & (_TIF_NEED_RESCHED | _TIF_NEED_RESCHED_LAZY)) {
> 53 if (!rseq_grant_slice_extension(ti_work, TIF_SLICE_EXT_DENY))
54 schedule();
55 }
56
57 if (ti_work & _TIF_UPROBE)
58 uprobe_notify_resume(regs);
59
60 if (ti_work & _TIF_PATCH_PENDING)
61 klp_update_patch_state(current);
62
63 if (ti_work & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL))
64 arch_do_signal_or_restart(regs);
65
66 if (ti_work & _TIF_NOTIFY_RESUME)
67 resume_user_mode_work(regs);
68
69 /* Architecture specific TIF work */
70 arch_exit_to_user_mode_work(regs, ti_work);
71
72 /*
73 * Disable interrupts and reevaluate the work flags as they
74 * might have changed while interrupts and preemption was
75 * enabled above.
76 */
77 local_irq_disable_exit_to_user();
78
79 /* Check if any of the above work has queued a deferred wakeup */
80 tick_nohz_user_enter_prepare();
81
82 ti_work = read_thread_flags();
83 }
84
85 /* Return the latest work state for arch_exit_to_user_mode() */
86 return ti_work;
87 }
88
--
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:[~2026-02-24 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24 13:13 [tglx-devel:sched/hrtick 35/48] kernel/entry/common.c:53:30: error: too many arguments to function 'rseq_grant_slice_extension' 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.