* [intel-tdx:guest-filter 10/28] arch/x86/coco/core.c:35:23: error: a function declaration without a prototype is deprecated in all versions of C
@ 2022-08-17 2:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-17 2:49 UTC (permalink / raw)
To: Kuppuswamy Sathyanarayanan; +Cc: llvm, kbuild-all, linux-kernel, Andi Kleen
tree: https://github.com/intel/tdx.git guest-filter
head: c8ae661a124d107ccb71713b70010f1bf237b7a2
commit: c664f263080aef1f09d2021e00428e648bc1c73f [10/28] x86/tdx: Add command line option to disable TDX guest filter support
config: x86_64-randconfig-r012-20220815 (https://download.01.org/0day-ci/archive/20220817/202208171051.GtZFxUcq-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project aed5e3bea138ce581d682158eb61c27b3cfdd6ec)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel/tdx/commit/c664f263080aef1f09d2021e00428e648bc1c73f
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-filter
git checkout c664f263080aef1f09d2021e00428e648bc1c73f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/x86/coco/core.c:35:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
bool cc_filter_enabled()
^
void
1 error generated.
vim +35 arch/x86/coco/core.c
34
> 35 bool cc_filter_enabled()
36 {
37 return cc_filter_status;
38 }
39
--
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-08-17 2:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 2:49 [intel-tdx:guest-filter 10/28] arch/x86/coco/core.c:35:23: error: a function declaration without a prototype is deprecated in all versions of C 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
all inboxes | Powered by JetHome®