qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Swetha Joshi <swethajoshi139@gmail.com>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: Swetha <swjoshi@microsoft.com>, qemu-devel@nongnu.org
Subject: Re: [PATCH] Adding ifdefs to call the respective routines only when their configs are enabled
Date: Mon, 24 May 2021 19:14:08 -0700	[thread overview]
Message-ID: <CALf2nmJV=K6nh67sc9K+xbnhoBrm_2qn6LttBdhVDqG4_pv1gQ@mail.gmail.com> (raw)
In-Reply-To: <8fbdab13-ed0e-047a-7a67-2e30471a46b1@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

Hey Richard,

I think I submitted the wrong patch, sorry about that. I will go ahead and
submit the correct commit id now. What I was trying to do was, when kvm is
enabled and if we don't want to include CONFIG_ARM_VIRT or
CONFIG_ACPI_APEI, compilation fails as virt_is_acpi_enabled() routine is
defined in virt.h and acpi_ghes_record_errors() is defined in ghes.h.

~ Swetha

On Mon, May 24, 2021 at 6:53 PM Richard Henderson <
richard.henderson@linaro.org> wrote:

> On 5/24/21 3:56 PM, Swetha Joshi wrote:
> > From: Swetha <swjoshi@microsoft.com>
> >
> > Signed-off-by: Swetha <swjoshi@microsoft.com>
>
> What are you trying to accomplish?
> That's what belongs in the commit message that you omitted.
>
> > +    bool acpi_enabled = false;
> > +#ifdef CONFIG_ARM_VIRT
> >       bool acpi_enabled = virt_is_acpi_enabled(vms);
>
> Of course this doesn't compile, having declared acpi_enabled twice.  So
> you
> have clearly not tested this patch sufficiently.
>
> The cc to qemu-trivial is unwarranted.
>
>
> r~
>


-- 
Regards

Swetha Joshi.

[-- Attachment #2: Type: text/html, Size: 1853 bytes --]

      reply	other threads:[~2021-05-25  2:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 22:56 [PATCH] Adding ifdefs to call the respective routines only when their configs are enabled Swetha Joshi
2021-05-25  0:48 ` no-reply
2021-05-25  1:53 ` Richard Henderson
2021-05-25  2:14   ` Swetha Joshi [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='CALf2nmJV=K6nh67sc9K+xbnhoBrm_2qn6LttBdhVDqG4_pv1gQ@mail.gmail.com' \
    --to=swethajoshi139@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=swjoshi@microsoft.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;
as well as URLs for NNTP newsgroup(s).