From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
pbonzini@redhat.com, tglx@kernel.org, bp@alien8.de,
dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com,
Qiang Ma <maqianga@uniontech.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] KVM: SVM: Remove redundant ret = 0 in svm_set_nested_state
Date: Tue, 14 Jul 2026 11:41:39 -0700 [thread overview]
Message-ID: <178405353092.3120562.14765440294938889890.b4-ty@google.com> (raw)
In-Reply-To: <20260618085217.3934985-1-maqianga@uniontech.com>
On Thu, 18 Jun 2026 16:52:17 +0800, Qiang Ma wrote:
> In svm_set_nested_state(), the success path reaches out_free with
> ret already set to 0 from nested_svm_load_cr3(). The explicit
> 'ret = 0' assignment before out_free is therefore redundant.
> Remove it.
>
> No functional change.
>
> [...]
Applied to kvm-x86 svm, thanks!
[1/1] KVM: SVM: Remove redundant ret = 0 in svm_set_nested_state
https://github.com/kvm-x86/linux/commit/bfafeb04a040
--
https://github.com/kvm-x86/linux/tree/next
prev parent reply other threads:[~2026-07-14 19:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-18 8:52 Qiang Ma
2026-07-14 18:41 ` Sean Christopherson [this message]
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=178405353092.3120562.14765440294938889890.b4-ty@google.com \
--to=seanjc@google.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maqianga@uniontech.com \
--cc=pbonzini@redhat.com \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®