Messages in this thread | | | Date | Wed, 17 Aug 2022 10:49:43 +0800 | From | kernel test robot <> | Subject | [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 |
| |
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
| |