qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: QEMU Developer <qemu-devel@nongnu.org>
Cc: Pavel Fedin <p.fedin@samsung.com>,
	Peter Maydell <peter.maydell@linaro.org>,
	QEMU Trivial <qemu-trivial@nongnu.org>,
	qemu-arm@nongnu.org, Stefan Weil <sw@weilnetz.de>
Subject: [Qemu-devel] [PATCH] hw/intc/arm_gicv3_its: Fix typo in member names of GICv3ITSState
Date: Tue,  1 Nov 2016 16:28:19 +0100	[thread overview]
Message-ID: <20161101152819.18906-1-sw@weilnetz.de> (raw)

translater -> translator (found by codespell)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 hw/intc/arm_gicv3_its_kvm.c            | 10 +++++-----
 include/hw/intc/arm_gicv3_its_common.h |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/hw/intc/arm_gicv3_its_kvm.c b/hw/intc/arm_gicv3_its_kvm.c
index fc246e0..c3e074d 100644
--- a/hw/intc/arm_gicv3_its_kvm.c
+++ b/hw/intc/arm_gicv3_its_kvm.c
@@ -33,18 +33,18 @@ static int kvm_its_send_msi(GICv3ITSState *s, uint32_t value, uint16_t devid)
 {
     struct kvm_msi msi;
 
-    if (unlikely(!s->translater_gpa_known)) {
+    if (unlikely(!s->translator_gpa_known)) {
         MemoryRegion *mr = &s->iomem_its_translation;
         MemoryRegionSection mrs;
 
         mrs = memory_region_find(mr, 0, 1);
         memory_region_unref(mrs.mr);
-        s->gits_translater_gpa = mrs.offset_within_address_space + 0x40;
-        s->translater_gpa_known = true;
+        s->gits_translator_gpa = mrs.offset_within_address_space + 0x40;
+        s->translator_gpa_known = true;
     }
 
-    msi.address_lo = extract64(s->gits_translater_gpa, 0, 32);
-    msi.address_hi = extract64(s->gits_translater_gpa, 32, 32);
+    msi.address_lo = extract64(s->gits_translator_gpa, 0, 32);
+    msi.address_hi = extract64(s->gits_translator_gpa, 32, 32);
     msi.data = le32_to_cpu(value);
     msi.flags = KVM_MSI_VALID_DEVID;
     msi.devid = devid;
diff --git a/include/hw/intc/arm_gicv3_its_common.h b/include/hw/intc/arm_gicv3_its_common.h
index 1ba1894..00aa04d 100644
--- a/include/hw/intc/arm_gicv3_its_common.h
+++ b/include/hw/intc/arm_gicv3_its_common.h
@@ -38,8 +38,8 @@ struct GICv3ITSState {
     GICv3State *gicv3;
 
     int dev_fd; /* kvm device fd if backed by kvm vgic support */
-    uint64_t gits_translater_gpa;
-    bool translater_gpa_known;
+    uint64_t gits_translator_gpa;
+    bool translator_gpa_known;
 
     /* Registers */
     uint32_t ctlr;
-- 
2.10.1

             reply	other threads:[~2016-11-01 15:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01 15:28 Stefan Weil [this message]
2016-11-01 15:35 ` [Qemu-devel] [PATCH] hw/intc/arm_gicv3_its: Fix typo in member names of GICv3ITSState Peter Maydell
2016-11-01 15:42 ` Auger Eric

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=20161101152819.18906-1-sw@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=p.fedin@samsung.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --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).