From: kernel test robot <lkp@intel.com>
To: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: [intel-tdx:guest 2/4] arch/x86/kernel/tdx-tests.c:66:12: warning: no previous prototype for 'kvm_unit_test_debug_init'
Date: Wed, 8 Dec 2021 08:00:27 +0800 [thread overview]
Message-ID: <202112080759.vxdxKodd-lkp@intel.com> (raw)
tree: https://github.com/intel/tdx.git guest
head: 99ee592fd433c9c999684d873636c3764019dd08
commit: 857f6deb3a90f4d3a0ad94433929d017f31e2efd [2/4] x86/tdx-tests: Add a port of a kvm unit test
config: i386-buildonly-randconfig-r006-20211207 (https://download.01.org/0day-ci/archive/20211208/202112080759.vxdxKodd-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/857f6deb3a90f4d3a0ad94433929d017f31e2efd
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout 857f6deb3a90f4d3a0ad94433929d017f31e2efd
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 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-tests.c:66:12: warning: no previous prototype for 'kvm_unit_test_debug_init' [-Wmissing-prototypes]
66 | int __init kvm_unit_test_debug_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/tdx-tests.c: Assembler messages:
arch/x86/kernel/tdx-tests.c:85: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:86: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:87: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:88: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:89: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:90: Error: bad register name `%rip)'
arch/x86/kernel/tdx-tests.c:111: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:112: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:113: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:114: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:115: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:116: Error: bad register name `%rip)'
arch/x86/kernel/tdx-tests.c:118: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:133: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:134: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:135: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:136: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:137: Error: bad register name `%rax'
arch/x86/kernel/tdx-tests.c:138: Error: bad register name `%rip)'
vim +/kvm_unit_test_debug_init +66 arch/x86/kernel/tdx-tests.c
65
> 66 int __init kvm_unit_test_debug_init(void)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2021-12-08 0:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 0:00 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-25 1:37 [intel-tdx:guest 2/4] arch/x86/kernel/tdx-tests.c:66:12: warning: no previous prototype for 'kvm_unit_test_debug_init' 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=202112080759.vxdxKodd-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox