public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Mostafa Saleh <smostafa@google.com>
To: Zenghui Yu <yuzenghui@huawei.com>
Cc: kvm@vger.kernel.org, will@kernel.org, julien.thierry.kdev@gmail.com
Subject: Re: [PATCH kvmtool] arm: Initialize target in kvm_cpu__arch_init
Date: Wed, 27 Sep 2023 12:31:47 +0000	[thread overview]
Message-ID: <ZRQgs_jGXe8ASQGU@google.com> (raw)
In-Reply-To: <14f6ab95-7de0-9c4d-3d90-5c98923dbd77@huawei.com>

Hi Zenghui,

On Wed, Sep 27, 2023 at 08:21:47PM +0800, Zenghui Yu wrote:
> On 2023/9/27 19:21, Mostafa Saleh wrote:
> > arm/kvm-cpu.c: In function ‘kvm_cpu__arch_init’:
> > arm/kvm-cpu.c:119:41: error: ‘target’ may be used uninitialized [-Werror=maybe-uninitialized]
> >   119 |         vcpu->cpu_compatible    = target->compatible;
> >       |                                   ~~~~~~^~~~~~~~~~~~
> > arm/kvm-cpu.c:40:32: note: ‘target’ was declared here
> >    40 |         struct kvm_arm_target *target;
> >       |                                ^~~~~~
> 
> Already addressed by 426e875213d3 ("arm/kvm-cpu: Fix new build
> warning").

Oh, I see that now, I was on the wrong branch, thanks for pointing
this!

> Zenghui

Thanks,
Mostafa

      reply	other threads:[~2023-09-27 12:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 11:21 [PATCH kvmtool] arm: Initialize target in kvm_cpu__arch_init Mostafa Saleh
2023-09-27 12:21 ` Zenghui Yu
2023-09-27 12:31   ` Mostafa Saleh [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=ZRQgs_jGXe8ASQGU@google.com \
    --to=smostafa@google.com \
    --cc=julien.thierry.kdev@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=will@kernel.org \
    --cc=yuzenghui@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox