[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206290037.j09xLiMh-lkp@intel.com>
Date: Wed, 29 Jun 2022 00:21:42 +0800
From: kernel test robot <lkp@...el.com>
To: Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@...ux.intel.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Andi Kleen <ak@...ux.intel.com>
Subject: [intel-tdx:guest-filter 10/28] arch/x86/coco/core.c:35:6: warning:
old-style function definition
tree: https://github.com/intel/tdx.git guest-filter
head: 0a555e67b143701a81612d819e693cf5786de418
commit: f0270b8da57a2d69e1eb8aa9c79ad9b6a01c90ab [10/28] x86/tdx: Add command line option to disable TDX guest filter support
config: x86_64-allyesconfig
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel/tdx/commit/f0270b8da57a2d69e1eb8aa9c79ad9b6a01c90ab
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-filter
git checkout f0270b8da57a2d69e1eb8aa9c79ad9b6a01c90ab
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/coco/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
arch/x86/coco/core.c: In function 'cc_filter_enabled':
>> arch/x86/coco/core.c:35:6: warning: old-style function definition [-Wold-style-definition]
35 | bool cc_filter_enabled()
| ^~~~~~~~~~~~~~~~~
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
View attachment "config" of type "text/plain" (286855 bytes)
Powered by blists - more mailing lists