All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Xiaoyao Li <xiaoyao.li@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Sean Christopherson <seanjc@google.com>,
	Nikolay Borisov <nik.borisov@suse.com>
Subject: [sean-jc:tdx/triple_fault_on_pending_sept 12/95] arch/x86/kvm/vmx/main.c:899 vt_handle_exit() warn: inconsistent indenting
Date: Thu, 24 Sep 2026 17:21:02 +0200	[thread overview]
Message-ID: <202609241705.WTOMl4Oc-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-09-24 15:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202609241705.WTOMl4Oc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=nik.borisov@suse.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=seanjc@google.com \
    --cc=xiaoyao.li@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.