From: Swetha Joshi <swethajoshi139@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Swetha Joshi <swethajoshi139@gmail.com>
Subject: [PATCH_V2 2/2] Removed double declaration
Date: Mon, 24 May 2021 19:33:46 -0700 [thread overview]
Message-ID: <20210525023346.3206241-2-swethajoshi139@gmail.com> (raw)
In-Reply-To: <20210525023346.3206241-1-swethajoshi139@gmail.com>
---
target/arm/kvm64.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/arm/kvm64.c b/target/arm/kvm64.c
index 724ce78265..47a4d9d831 100644
--- a/target/arm/kvm64.c
+++ b/target/arm/kvm64.c
@@ -1405,8 +1405,8 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)
VirtMachineState *vms = VIRT_MACHINE(obj);
bool acpi_enabled = false;
#ifdef CONFIG_ARM_VIRT
- bool acpi_enabled = virt_is_acpi_enabled(vms);
- #endif /* CONFIG_ARM_VIRT */
+ acpi_enabled = virt_is_acpi_enabled(vms);
+#endif /* CONFIG_ARM_VIRT */
assert(code == BUS_MCEERR_AR || code == BUS_MCEERR_AO);
@@ -1431,8 +1431,8 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)
kvm_cpu_synchronize_state(c);
#ifdef CONFIG_ACPI_APEI
if (acpi_ghes_record_errors(ACPI_HEST_SRC_ID_SEA, paddr)) {
- error_report("failed to record the error");
- abort();
+ error_report("failed to record the error");
+ abort();
}
#endif /* CONFIG_ACPI_APEI */
kvm_inject_arm_sea(c);
--
2.25.1
prev parent reply other threads:[~2021-05-25 2:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-25 2:33 [PATCH_V2 1/2] Adding ifdefs to call the respective routines only when their configs are enabled Swetha Joshi
2021-05-25 2:33 ` 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=20210525023346.3206241-2-swethajoshi139@gmail.com \
--to=swethajoshi139@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.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;
as well as URLs for NNTP newsgroup(s).