From: kernel test robot <lkp@intel.com>
To: Andi Kleen <ak@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@linux.intel.com>
Subject: [intel-tdx:guest 104/144] arch/x86/kernel/tdx.c:491:14: warning: no previous prototype for 'tdx_write_msr'
Date: Wed, 8 Dec 2021 05:47:20 +0800 [thread overview]
Message-ID: <202112080508.FqEbBAvi-lkp@intel.com> (raw)
tree: https://github.com/intel/tdx.git guest
head: 41fe88a1b3c28543f49fa6ed9e0e9b6650ed7614
commit: 112748701181f3a7ab49d21bcf7920b983b05af2 [104/144] x86/tdx: Use direct paravirt call for wrmsrl
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20211208/202112080508.FqEbBAvi-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/intel/tdx/commit/112748701181f3a7ab49d21bcf7920b983b05af2
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout 112748701181f3a7ab49d21bcf7920b983b05af2
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/x86/kernel/tdx.c:268:5: warning: no previous prototype for 'tdx_hcall_set_notify_intr' [-Wmissing-prototypes]
268 | int tdx_hcall_set_notify_intr(u8 vector)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/tdx.c:491:14: warning: no previous prototype for 'tdx_write_msr' [-Wmissing-prototypes]
491 | void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high)
| ^~~~~~~~~~~~~
vim +/tdx_write_msr +491 arch/x86/kernel/tdx.c
490
> 491 void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high)
492 {
493 if (tdx_fast_tdcall_path_msr(msr))
494 tdx_write_msr_safe(msr, low, high);
495 else
496 native_write_msr(msr, low, high);
497 }
498
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2021-12-07 21:48 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=202112080508.FqEbBAvi-lkp@intel.com \
--to=lkp@intel.com \
--cc=ak@linux.intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sathyanarayanan.kuppuswamy@linux.intel.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
all inboxes | Powered by JetHome®