All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Andrew Jones <drjones@redhat.com>
Cc: kvm@vger.kernel.org, pbonzini@redhat.com
Subject: Re: [PATCH] KVM: selftests: kvm_binary_stats_test: Fix index expressions
Date: Tue, 14 Jun 2022 14:43:34 +0000	[thread overview]
Message-ID: <YqielsFTtL6yhQmi@google.com> (raw)
In-Reply-To: <20220614081041.2571511-1-drjones@redhat.com>

On Tue, Jun 14, 2022, Andrew Jones wrote:
> kvm_binary_stats_test accepts two arguments, the number of vms
> and number of vcpus. If these inputs are not equal then the
> test would likely crash for one reason or another due to using
> miscalculated indices for the vcpus array. Fix the index
> expressions by swapping the use of i and j.
> 
> Signed-off-by: Andrew Jones <drjones@redhat.com>
> ---

Thanks!  I had done this locally but lost track of it when updating kvm/queue.

Reviewed-by: Sean Christopherson <seanjc@google.com>

      reply	other threads:[~2022-06-14 14:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-14  8:10 [PATCH] KVM: selftests: kvm_binary_stats_test: Fix index expressions Andrew Jones
2022-06-14 14:43 ` 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=YqielsFTtL6yhQmi@google.com \
    --to=seanjc@google.com \
    --cc=drjones@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.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.