[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 <[email protected]>
| Newsgroups | dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
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/[email protected]/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/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ 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 <[email protected]> :::::: CC: Nicolas Pitre <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki