From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Mon, 13 Jul 2026 09:28:27 +0800 [thread overview]
Message-ID: <202607130847.Qldf3HQK-lkp@intel.com> (raw)
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
reply other threads:[~2026-07-13 1:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202607130847.Qldf3HQK-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.