All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-tdx:kvm-upstream 73/152] arch/x86/kvm/vmx/main.c:25:14: error: expression is not assignable
@ 2021-12-17 22:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-17 22:14 UTC (permalink / raw)
  To: Isaku Yamahata; +Cc: llvm, kbuild-all, linux-kernel

tree:   https://github.com/intel/tdx.git kvm-upstream
head:   bdfe06c17daab60c196ff80c1d98467a1d3734fa
commit: 3545bcde2d72e4b5b5f16571788aac0ddb5f49a5 [73/152] KVM: TDX: Add KVM TDX system-wide initialization and teardown
config: x86_64-randconfig-a013-20211216 (https://download.01.org/0day-ci/archive/20211218/202112180628.1QbsHNOz-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dd245bab9fbb364faa1581e4f92ba3119a872fba)
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/3545bcde2d72e4b5b5f16571788aac0ddb5f49a5
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx kvm-upstream
        git checkout 3545bcde2d72e4b5b5f16571788aac0ddb5f49a5
        # save the config file to linux build tree
        mkdir build_dir
        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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/x86/kvm/vmx/main.c:25:14: error: expression is not assignable
                   enable_tdx = false;
                   ~~~~~~~~~~ ^
   1 error generated.


vim +25 arch/x86/kvm/vmx/main.c

    15	
    16	static __init int vt_hardware_setup(void)
    17	{
    18		int ret;
    19	
    20		ret = vmx_hardware_setup();
    21		if (ret)
    22			return ret;
    23	
    24		if (enable_tdx && tdx_hardware_setup(&vt_x86_ops))
  > 25			enable_tdx = false;
    26		return 0;
    27	}
    28	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [intel-tdx:kvm-upstream 73/152] arch/x86/kvm/vmx/main.c:25:14: error: expression is not assignable
@ 2021-12-17 22:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-17 22:14 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1900 bytes --]

tree:   https://github.com/intel/tdx.git kvm-upstream
head:   bdfe06c17daab60c196ff80c1d98467a1d3734fa
commit: 3545bcde2d72e4b5b5f16571788aac0ddb5f49a5 [73/152] KVM: TDX: Add KVM TDX system-wide initialization and teardown
config: x86_64-randconfig-a013-20211216 (https://download.01.org/0day-ci/archive/20211218/202112180628.1QbsHNOz-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dd245bab9fbb364faa1581e4f92ba3119a872fba)
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/3545bcde2d72e4b5b5f16571788aac0ddb5f49a5
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx kvm-upstream
        git checkout 3545bcde2d72e4b5b5f16571788aac0ddb5f49a5
        # save the config file to linux build tree
        mkdir build_dir
        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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/x86/kvm/vmx/main.c:25:14: error: expression is not assignable
                   enable_tdx = false;
                   ~~~~~~~~~~ ^
   1 error generated.


vim +25 arch/x86/kvm/vmx/main.c

    15	
    16	static __init int vt_hardware_setup(void)
    17	{
    18		int ret;
    19	
    20		ret = vmx_hardware_setup();
    21		if (ret)
    22			return ret;
    23	
    24		if (enable_tdx && tdx_hardware_setup(&vt_x86_ops))
  > 25			enable_tdx = false;
    26		return 0;
    27	}
    28	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-17 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 22:14 [intel-tdx:kvm-upstream 73/152] arch/x86/kvm/vmx/main.c:25:14: error: expression is not assignable kernel test robot
2021-12-17 22:14 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.