All of lore.kernel.org
 help / color / mirror / Atom feed
* [sean-jc:tdx/triple_fault_on_pending_sept 12/95] arch/x86/kvm/vmx/main.c:899 vt_handle_exit() warn: inconsistent indenting
@ 2026-09-24 15:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-24 15:21 UTC (permalink / raw)
  To: Xiaoyao Li; +Cc: oe-kbuild-all, Sean Christopherson, Nikolay Borisov

tree:   https://github.com/sean-jc/linux tdx/triple_fault_on_pending_sept
head:   bdd6b6c0176b2b8645c34a3326f6aa5b9cb66d14
commit: 213bbf18f07aed935e21df322fa61a84a19f9169 [12/95] KVM: VMX: Consolidate the exit handler for VMX and TDX
config: i386-randconfig-2200-20260924 (https://download.01.org/0day-ci/archive/20260924/202609241705.WTOMl4Oc-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
smatch: v0.5.0-9187-g5189e3fb

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609241705.WTOMl4Oc-lkp@intel.com/

smatch warnings:
arch/x86/kvm/vmx/main.c:899 vt_handle_exit() warn: inconsistent indenting

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

   882	
   883	static int vt_handle_exit(struct kvm_vcpu *vcpu,
   884				  enum exit_fastpath_completion fastpath)
   885	{
   886		int ret;
   887	
   888	#ifdef CONFIG_KVM_INTEL_TDX
   889		if (is_td_vcpu(vcpu))
   890			ret = tdx_handle_exit(vcpu, fastpath);
   891		else
   892	#endif
   893			ret = vmx_handle_exit(vcpu, fastpath);
   894	
   895		/*
   896		 * Exit to user space when bus lock detected to inform that there is
   897		 * a bus lock in guest.
   898		 */
 > 899		if (vmx_get_exit_reason(vcpu).bus_lock_detected) {
   900			if (ret > 0) {
   901				vcpu->run->exit_reason = KVM_EXIT_X86_BUS_LOCK;
   902				ret = 0;
   903			}
   904	
   905			vcpu->run->flags |= KVM_RUN_X86_BUS_LOCK;
   906		}
   907		return ret;
   908	}
   909	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-24 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 15:21 [sean-jc:tdx/triple_fault_on_pending_sept 12/95] arch/x86/kvm/vmx/main.c:899 vt_handle_exit() warn: inconsistent indenting 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.