[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202112080759.vxdxKodd-lkp@intel.com>
Date: Wed, 8 Dec 2021 08:00:27 +0800
From: kernel test robot <lkp@...el.com>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.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'
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@...el.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
Powered by blists - more mailing lists