qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: thuth@redhat.com, david@gibson.dropbear.id.au,
	mark.cave-ayland@ilande.co.uk
Subject: [Qemu-devel] [PATCH 1/2] tcg: Fix name for high-half register
Date: Fri, 17 Jun 2016 22:03:26 -0700	[thread overview]
Message-ID: <1466226207-23581-2-git-send-email-rth@twiddle.net> (raw)
In-Reply-To: <1466226207-23581-1-git-send-email-rth@twiddle.net>

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/tcg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcg/tcg.c b/tcg/tcg.c
index 254427b..154ffe8 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -557,7 +557,7 @@ int tcg_global_mem_new_internal(TCGType type, TCGv_ptr base,
         ts2->mem_offset = offset + (1 - bigendian) * 4;
         pstrcpy(buf, sizeof(buf), name);
         pstrcat(buf, sizeof(buf), "_1");
-        ts->name = strdup(buf);
+        ts2->name = strdup(buf);
     } else {
         ts->base_type = type;
         ts->type = type;
-- 
2.5.5

  reply	other threads:[~2016-06-18  5:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18  5:03 [Qemu-devel] [PATCH 0/2] tcg: Fix i686 booting sparc64 openbios Richard Henderson
2016-06-18  5:03 ` Richard Henderson [this message]
2016-06-20  0:11   ` [Qemu-devel] [PATCH 1/2] tcg: Fix name for high-half register David Gibson
2016-06-18  5:03 ` [Qemu-devel] [PATCH 2/2] tcg: Fix allocation of indirect_base registers Richard Henderson
2016-06-20  8:07 ` [Qemu-devel] [PATCH 0/2] tcg: Fix i686 booting sparc64 openbios Thomas Huth
2016-06-20 19:32 ` Mark Cave-Ayland

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=1466226207-23581-2-git-send-email-rth@twiddle.net \
    --to=rth@twiddle.net \
    --cc=david@gibson.dropbear.id.au \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@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 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).