All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [intel-tdx:guest 98/136] arch/x86/kernel/tdx.c:489:14: error: no previous prototype for 'tdx_write_msr'
Date: Thu, 28 Oct 2021 06:46:04 +0800	[thread overview]
Message-ID: <202110280654.0stBbEdi-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]

tree:   https://github.com/intel/tdx.git guest
head:   12f4800ff5dbe89a642744796008f89f23b2e446
commit: 0b2ba653fca5799158883bdaefabe6176aea7db9 [98/136] x86/tdx: Use direct paravirt call for wrmsrl
config: x86_64-allyesconfig (attached as .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/0b2ba653fca5799158883bdaefabe6176aea7db9
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 0b2ba653fca5799158883bdaefabe6176aea7db9
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/x86/kernel/tdx.c:266:5: error: no previous prototype for 'tdx_hcall_set_notify_intr' [-Werror=missing-prototypes]
     266 | int tdx_hcall_set_notify_intr(u8 vector)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/tdx.c:489:14: error: no previous prototype for 'tdx_write_msr' [-Werror=missing-prototypes]
     489 | void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high)
         |              ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/tdx_write_msr +489 arch/x86/kernel/tdx.c

   488	
 > 489	void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high)
   490	{
   491		if (tdx_fast_tdcall_path_msr(msr))
   492			tdx_write_msr_safe(msr, low, high);
   493		else
   494			native_write_msr(msr, low, high);
   495	}
   496	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 66458 bytes --]

WARNING: multiple messages have this Message-ID (diff)
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 98/136] arch/x86/kernel/tdx.c:489:14: error: no previous prototype for 'tdx_write_msr'
Date: Thu, 28 Oct 2021 06:46:04 +0800	[thread overview]
Message-ID: <202110280654.0stBbEdi-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]

tree:   https://github.com/intel/tdx.git guest
head:   12f4800ff5dbe89a642744796008f89f23b2e446
commit: 0b2ba653fca5799158883bdaefabe6176aea7db9 [98/136] x86/tdx: Use direct paravirt call for wrmsrl
config: x86_64-allyesconfig (attached as .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/0b2ba653fca5799158883bdaefabe6176aea7db9
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 0b2ba653fca5799158883bdaefabe6176aea7db9
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/x86/kernel/tdx.c:266:5: error: no previous prototype for 'tdx_hcall_set_notify_intr' [-Werror=missing-prototypes]
     266 | int tdx_hcall_set_notify_intr(u8 vector)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/tdx.c:489:14: error: no previous prototype for 'tdx_write_msr' [-Werror=missing-prototypes]
     489 | void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high)
         |              ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/tdx_write_msr +489 arch/x86/kernel/tdx.c

   488	
 > 489	void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high)
   490	{
   491		if (tdx_fast_tdcall_path_msr(msr))
   492			tdx_write_msr_safe(msr, low, high);
   493		else
   494			native_write_msr(msr, low, high);
   495	}
   496	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66458 bytes --]

             reply	other threads:[~2021-10-27 22:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 22:46 kernel test robot [this message]
2021-10-27 22:46 ` [intel-tdx:guest 98/136] arch/x86/kernel/tdx.c:489:14: error: no previous prototype for 'tdx_write_msr' kernel test robot

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=202110280654.0stBbEdi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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.