* [intel-tdx:kvm-upstream-workaround 279/314] lib/kvm_random.c:43:25: warning: implicit declaration of function 'cpuid_eax'
@ 2022-09-20 2:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-20 2:43 UTC (permalink / raw)
To: Sean Christopherson; +Cc: kbuild-all, linux-kernel, Isaku Yamahata
tree: https://github.com/intel/tdx.git kvm-upstream-workaround
head: 552dd80c48f67ca01bcdd10667e0c11efd375177
commit: a9daeb222b941f9c7fc89fee39301460ae2283d5 [279/314] *** HACK *** KVM: selftests: Add random_() framework to common KVM code
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
# https://github.com/intel/tdx/commit/a9daeb222b941f9c7fc89fee39301460ae2283d5
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx kvm-upstream-workaround
git checkout a9daeb222b941f9c7fc89fee39301460ae2283d5
make O=/tmp/kselftest headers
make O=/tmp/kselftest -C tools/testing/selftests
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from lib/kvm_random.c:14:
include/x86_64/processor.h:761: warning: "__stringify_1" redefined
761 | #define __stringify_1(x) #x
|
In file included from include/x86_64/processor.h:18,
from lib/kvm_random.c:14:
../../../../tools/include/linux/stringify.h:10: note: this is the location of the previous definition
10 | #define __stringify_1(x...) #x
|
In file included from lib/kvm_random.c:14:
include/x86_64/processor.h:762: warning: "__stringify" redefined
762 | #define __stringify(x) __stringify_1(x)
|
In file included from include/x86_64/processor.h:18,
from lib/kvm_random.c:14:
../../../../tools/include/linux/stringify.h:11: note: this is the location of the previous definition
11 | #define __stringify(x...) __stringify_1(x)
|
lib/kvm_random.c: In function 'init_random':
>> lib/kvm_random.c:43:25: warning: implicit declaration of function 'cpuid_eax' [-Wimplicit-function-declaration]
43 | x86_phys_bits = cpuid_eax(0x80000008) & 0xff;
| ^~~~~~~~~
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-20 2:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-20 2:43 [intel-tdx:kvm-upstream-workaround 279/314] lib/kvm_random.c:43:25: warning: implicit declaration of function 'cpuid_eax' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox