* [frederic-dynticks:core/hotplug 1/49] include/linux/stop_machine.h:182:9: error: too few arguments to function 'stop_machine_cpuslocked'
@ 2026-10-19 17:33 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-19 17:33 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git core/hotplug
head: 8ff5f866a7c2825213c6aa525a88840cbccf1211
commit: c7da79bd2c65b3817e4a2ce25fbdcc3bb8c9262f [1/49] stop_machine: Add post function to execute while other CPUs can exit
config: arc-randconfig-2001-20261019 (https://download.01.org/0day-ci/archive/20261019/202610191939.Rp89zh4J-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261019/202610191939.Rp89zh4J-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/202610191939.Rp89zh4J-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from kernel/sched/sched.h:63,
from kernel/sched/rq-offsets.c:5:
include/linux/stop_machine.h: In function 'stop_machine':
>> include/linux/stop_machine.h:182:43: warning: passing argument 3 of 'stop_machine_cpuslocked' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return stop_machine_cpuslocked(fn, data, cpus);
^~~~
include/linux/stop_machine.h:167:16: note: expected 'void *' but argument is of type 'const struct cpumask *'
void *data, const struct cpumask *cpus)
~~~~~~^~~~
>> include/linux/stop_machine.h:182:9: error: too few arguments to function 'stop_machine_cpuslocked'
return stop_machine_cpuslocked(fn, data, cpus);
^~~~~~~~~~~~~~~~~~~~~~~
include/linux/stop_machine.h:166:28: note: declared here
static __always_inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, cpu_stop_fn_t postfn,
^~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:185: kernel/sched/rq-offsets.s] Error 1 shuffle=649157078
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1425: prepare0] Error 2 shuffle=649157078
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=649157078
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=649157078
make: Target 'prepare' not remade because of errors.
vim +/stop_machine_cpuslocked +182 include/linux/stop_machine.h
9ea09af3bd3090 Heiko Carstens 2008-12-22 178
cbf78d85079cee Arnd Bergmann 2021-03-12 179 static __always_inline int
cbf78d85079cee Arnd Bergmann 2021-03-12 180 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus)
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 181 {
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 @182 return stop_machine_cpuslocked(fn, data, cpus);
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 183 }
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 184
:::::: The code at line 182 was first introduced by commit
:::::: fe5595c074005bd94f0c7d1644175941149f6768 stop_machine: Provide stop_machine_cpuslocked()
:::::: TO: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [frederic-dynticks:core/hotplug 1/49] include/linux/stop_machine.h:182:9: error: too few arguments to function 'stop_machine_cpuslocked'
@ 2026-10-20 14:11 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-20 14:11 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git core/hotplug
head: 8ff5f866a7c2825213c6aa525a88840cbccf1211
commit: c7da79bd2c65b3817e4a2ce25fbdcc3bb8c9262f [1/49] stop_machine: Add post function to execute while other CPUs can exit
config: xtensa-randconfig-1001-20261020 (https://download.01.org/0day-ci/archive/20261020/202610202200.8Dqdvfbf-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261020/202610202200.8Dqdvfbf-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/202610202200.8Dqdvfbf-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/sched.h:63,
from kernel/sched/rq-offsets.c:5:
include/linux/stop_machine.h: In function 'stop_machine':
include/linux/stop_machine.h:182:43: warning: passing argument 3 of 'stop_machine_cpuslocked' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
182 | return stop_machine_cpuslocked(fn, data, cpus);
| ^~~~
include/linux/stop_machine.h:167:16: note: expected 'void *' but argument is of type 'const struct cpumask *'
167 | void *data, const struct cpumask *cpus)
| ~~~~~~^~~~
>> include/linux/stop_machine.h:182:9: error: too few arguments to function 'stop_machine_cpuslocked'
182 | return stop_machine_cpuslocked(fn, data, cpus);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/stop_machine.h:166:28: note: declared here
166 | static __always_inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, cpu_stop_fn_t postfn,
| ^~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:185: kernel/sched/rq-offsets.s] Error 1 shuffle=3696427084
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1425: prepare0] Error 2 shuffle=3696427084
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=3696427084
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=3696427084
make: Target 'prepare' not remade because of errors.
vim +/stop_machine_cpuslocked +182 include/linux/stop_machine.h
9ea09af3bd3090 Heiko Carstens 2008-12-22 178
cbf78d85079cee Arnd Bergmann 2021-03-12 179 static __always_inline int
cbf78d85079cee Arnd Bergmann 2021-03-12 180 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus)
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 181 {
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 @182 return stop_machine_cpuslocked(fn, data, cpus);
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 183 }
fe5595c074005b Sebastian Andrzej Siewior 2017-05-24 184
:::::: The code at line 182 was first introduced by commit
:::::: fe5595c074005bd94f0c7d1644175941149f6768 stop_machine: Provide stop_machine_cpuslocked()
:::::: TO: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-20 14:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 14:11 [frederic-dynticks:core/hotplug 1/49] include/linux/stop_machine.h:182:9: error: too few arguments to function 'stop_machine_cpuslocked' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-10-19 17:33 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.