All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:timers/cleanup 3/59] arch/arm/include/asm/smp.h:73:43: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration
@ 2026-07-13  1:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-13  1:28 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: 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-randconfig-002-20260713 (https://download.01.org/0day-ci/archive/20260713/202607130847.Qldf3HQK-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260713/202607130847.Qldf3HQK-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/202607130847.Qldf3HQK-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/smp.h:120,
                    from include/linux/alloc_tag.h:14,
                    from include/linux/percpu.h:5,
                    from include/linux/prandom.h:13,
                    from kernel/sched/sched.h:8,
                    from kernel/sched/rq-offsets.c:5:
>> arch/arm/include/asm/smp.h:73:43: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration
      73 | extern int register_ipi_completion(struct completion *completion, int cpu);
         |                                           ^~~~~~~~~~
--
   In file included from include/linux/smp.h:120,
                    from include/linux/lockdep.h:14,
                    from include/linux/spinlock.h:63,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:7,
                    from include/linux/umh.h:4,
                    from include/linux/kmod.h:9,
                    from include/linux/module.h:18,
                    from arch/arm/kernel/smp.c:7:
>> arch/arm/include/asm/smp.h:73:43: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration
      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'; have 'int(struct completion *, int)'
     619 | int register_ipi_completion(struct completion *completion, int cpu)
         |     ^~~~~~~~~~~~~~~~~~~~~~~
   arch/arm/include/asm/smp.h:73:12: note: previous declaration of 'register_ipi_completion' with type 'int(struct completion *, int)'
      73 | extern int register_ipi_completion(struct completion *completion, int cpu);
         |            ^~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/smp.h:120,
                    from include/linux/alloc_tag.h:14,
                    from include/linux/percpu.h:5,
                    from include/linux/prandom.h:13,
                    from kernel/sched/sched.h:8,
                    from kernel/sched/rq-offsets.c:5:
>> arch/arm/include/asm/smp.h:73:43: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration
      73 | extern int register_ipi_completion(struct completion *completion, int cpu);
         |                                           ^~~~~~~~~~


vim +73 arch/arm/include/asm/smp.h

f6dd9fa5a75a3d include/asm-arm/smp.h      Jens Axboe    2008-06-10  72  
5135d875e1457e arch/arm/include/asm/smp.h Nicolas Pitre 2012-11-27 @73  extern int register_ipi_completion(struct completion *completion, int cpu);
5135d875e1457e 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  1: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  1:28 [tglx-devel:timers/cleanup 3/59] arch/arm/include/asm/smp.h:73:43: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration 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.