[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202109021222.Ayz3RnA1-lkp@intel.com>
Date: Thu, 2 Sep 2021 12:17:15 +0800
From: kernel test robot <lkp@...el.com>
To: Andi Kleen <ak@...ux.intel.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@...ux.intel.com>
Subject: [intel-tdx:guest 61/127] arch/x86/kernel/cpu/intel.c:66:14: sparse:
sparse: symbol 'x86_disable_prot' was not declared. Should it be static?
tree: https://github.com/intel/tdx.git guest
head: c748712bd17bbd7f8a75553911a5557f3d7d32b2
commit: 88ae938a940372416844f862bad42a2d532f1a12 [61/127] x86/tdx: Add option to override prot values
config: x86_64-randconfig-s022-20210901 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-dirty
# https://github.com/intel/tdx/commit/88ae938a940372416844f862bad42a2d532f1a12
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout 88ae938a940372416844f862bad42a2d532f1a12
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/cpu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> arch/x86/kernel/cpu/intel.c:66:14: sparse: sparse: symbol 'x86_disable_prot' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (35461 bytes)
Powered by blists - more mailing lists