From: kernel test robot <lkp@intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [sean-jc:x86/guarded_kvm_headers 18/19] arch/powerpc/sysdev/xics/icp-native.c:194:6: error: no previous prototype for function 'xics_wake_cpu'
Date: Sun, 10 Sep 2023 06:52:29 +0800 [thread overview]
Message-ID: <202309100615.1NysCi2Y-lkp@intel.com> (raw)
tree: https://github.com/sean-jc/linux x86/guarded_kvm_headers
head: a4cf1960322069d95b013d644a0121858e5c996f
commit: 973dc13aa01a2c2f28ac6c5145a411f2135325a4 [18/19] powerpc/xics: Move declaration of xics_wake_cpu() out of kvm_ppc.h
config: powerpc-skiroot_defconfig (https://download.01.org/0day-ci/archive/20230910/202309100615.1NysCi2Y-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230910/202309100615.1NysCi2Y-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/202309100615.1NysCi2Y-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/powerpc/sysdev/xics/icp-native.c:194:6: error: no previous prototype for function 'xics_wake_cpu' [-Werror,-Wmissing-prototypes]
194 | void xics_wake_cpu(int cpu)
| ^
arch/powerpc/sysdev/xics/icp-native.c:194:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
194 | void xics_wake_cpu(int cpu)
| ^
| static
1 error generated.
vim +/xics_wake_cpu +194 arch/powerpc/sysdev/xics/icp-native.c
d6a4f70909d279 Paul Mackerras 2014-09-02 193
371fefd6f2dc46 Paul Mackerras 2011-06-29 @194 void xics_wake_cpu(int cpu)
371fefd6f2dc46 Paul Mackerras 2011-06-29 195 {
371fefd6f2dc46 Paul Mackerras 2011-06-29 196 icp_native_set_qirr(cpu, IPI_PRIORITY);
371fefd6f2dc46 Paul Mackerras 2011-06-29 197 }
371fefd6f2dc46 Paul Mackerras 2011-06-29 198 EXPORT_SYMBOL_GPL(xics_wake_cpu);
371fefd6f2dc46 Paul Mackerras 2011-06-29 199
:::::: The code at line 194 was first introduced by commit
:::::: 371fefd6f2dc46668e00871930dde613b88d4bde KVM: PPC: Allow book3s_hv guests to use SMT processor modes
:::::: TO: Paul Mackerras <paulus@samba.org>
:::::: CC: Avi Kivity <avi@redhat.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-09-09 22:52 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=202309100615.1NysCi2Y-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=seanjc@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox