* [tglx-devel:timers/cleanup 3/59] arch/arm/include/asm/smp.h:73:43: warning: declaration of 'struct completion' will not be visible outside of this function
@ 2026-07-13 3:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-13 3:28 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git timers/cleanup
head: 0ad363c8e014568032d53fe2c7ab288de68373f4
commit: 7685fb5c8fe1aebd1a2202b2267a79d5b6775fd2 [3/59] nodemask: Include find.h instead of random.h
config: arm-defconfig (https://download.01.org/0day-ci/archive/20260713/202607131114.p7YIjoLa-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project b3e6e6dabdc02153552a64fc74ff5c7532447eed)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260713/202607131114.p7YIjoLa-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/202607131114.p7YIjoLa-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/sched/rq-offsets.c:5:
In file included from kernel/sched/sched.h:8:
In file included from include/linux/prandom.h:13:
In file included from include/linux/percpu.h:5:
In file included from include/linux/alloc_tag.h:14:
In file included from include/linux/smp.h:120:
>> arch/arm/include/asm/smp.h:73:43: warning: declaration of 'struct completion' will not be visible outside of this function [-Wvisibility]
73 | extern int register_ipi_completion(struct completion *completion, int cpu);
| ^
1 warning generated.
--
In file included from arch/arm/kernel/isa.c:12:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:7:
In file included from include/linux/list_lru.h:13:
In file included from include/linux/shrinker.h:8:
In file included from include/linux/completion.h:12:
In file included from include/linux/swait.h:7:
In file included from include/linux/spinlock.h:63:
In file included from include/linux/lockdep.h:14:
In file included from include/linux/smp.h:120:
>> arch/arm/include/asm/smp.h:73:43: warning: declaration of 'struct completion' will not be visible outside of this function [-Wvisibility]
73 | extern int register_ipi_completion(struct completion *completion, int cpu);
| ^
arch/arm/kernel/isa.c:41:33: warning: variable 'isa_sysctl_header' set but not used [-Wunused-but-set-global]
41 | static struct ctl_table_header *isa_sysctl_header;
| ^
2 warnings generated.
--
In file included from arch/arm/kernel/smp.c:7:
In file included from include/linux/module.h:18:
In file included from include/linux/kmod.h:9:
In file included from include/linux/umh.h:4:
In file included from include/linux/gfp.h:7:
In file included from include/linux/mmzone.h:8:
In file included from include/linux/spinlock.h:63:
In file included from include/linux/lockdep.h:14:
In file included from include/linux/smp.h:120:
>> arch/arm/include/asm/smp.h:73:43: warning: declaration of 'struct completion' will not be visible outside of this function [-Wvisibility]
73 | extern int register_ipi_completion(struct completion *completion, int cpu);
| ^
arch/arm/kernel/smp.c:619:5: error: conflicting types for 'register_ipi_completion'
619 | int register_ipi_completion(struct completion *completion, int cpu)
| ^
arch/arm/include/asm/smp.h:73:12: note: previous declaration is here
73 | extern int register_ipi_completion(struct completion *completion, int cpu);
| ^
1 warning and 1 error generated.
--
In file included from kernel/sched/rq-offsets.c:5:
In file included from kernel/sched/sched.h:8:
In file included from include/linux/prandom.h:13:
In file included from include/linux/percpu.h:5:
In file included from include/linux/alloc_tag.h:14:
In file included from include/linux/smp.h:120:
>> arch/arm/include/asm/smp.h:73:43: warning: declaration of 'struct completion' will not be visible outside of this function [-Wvisibility]
73 | extern int register_ipi_completion(struct completion *completion, int cpu);
| ^
1 warning generated.
vim +73 arch/arm/include/asm/smp.h
f6dd9fa5a75a3da include/asm-arm/smp.h Jens Axboe 2008-06-10 72
5135d875e1457ef arch/arm/include/asm/smp.h Nicolas Pitre 2012-11-27 @73 extern int register_ipi_completion(struct completion *completion, int cpu);
5135d875e1457ef arch/arm/include/asm/smp.h Nicolas Pitre 2012-11-27 74
:::::: The code at line 73 was first introduced by commit
:::::: 5135d875e1457ef946a055003d8f80713e862135 ARM: SMP: basic IPI triggered completion support
:::::: TO: Nicolas Pitre <nicolas.pitre@linaro.org>
:::::: CC: Nicolas Pitre <nicolas.pitre@linaro.org>
--
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-07-13 3:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13 3:28 [tglx-devel:timers/cleanup 3/59] arch/arm/include/asm/smp.h:73:43: warning: declaration of 'struct completion' will not be visible outside of this function 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