From patchwork Sat Jun 18 05:03:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9185427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 702096075F for ; Sat, 18 Jun 2016 05:04:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A95022473 for ; Sat, 18 Jun 2016 05:04:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D46A2835E; Sat, 18 Jun 2016 05:04:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D98E822473 for ; Sat, 18 Jun 2016 05:04:07 +0000 (UTC) Received: from localhost ([::1]:33145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE8QR-0007XY-1G for patchwork-qemu-devel@patchwork.kernel.org; Sat, 18 Jun 2016 01:04:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE8Py-0007SP-7M for qemu-devel@nongnu.org; Sat, 18 Jun 2016 01:03:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bE8Pr-0007Q1-9a for qemu-devel@nongnu.org; Sat, 18 Jun 2016 01:03:37 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:36101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE8Pr-0007Pr-20 for qemu-devel@nongnu.org; Sat, 18 Jun 2016 01:03:31 -0400 Received: by mail-pf0-x244.google.com with SMTP id i123so4415762pfg.3 for ; Fri, 17 Jun 2016 22:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=gu6jl7SKVIt197+c1Y3rHNF5iwxfa0V2JfDBKb7kaUk=; b=G6tF1y/q2Zjt/K4ai+i218XjUI+R2mdYx7tCELyB4z6nSPAnxGu+SiWpCzkWdXWL9b 8GEKLggMkGp6417kPHm41bTiehqc0f4HhYGOtGzqpLSpaCyKvAxiQMSBtBrhKhb/BhvV aEBAwvOb4kmadAZlONDlT6IVvDh+BVg+ePWvDcKKY0mAxnFEDYQivG2auXdGk8sM/MB2 gr3C5gmDaDVz8yNENh4xWDAimTDgRqRfT4a0tRNmLyRm1nt+fowyot53ey4N2Xe/hZ4K TLAEBfw+63RFh37+dsTIPIydfiMFJD9qJ7T73ecJjepkdIPU4UeRiRLrW7E6y5icV7Jk 1+fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=gu6jl7SKVIt197+c1Y3rHNF5iwxfa0V2JfDBKb7kaUk=; b=TVC3KLsvowLuRCRXApnqmGyf217fOCwrTYL2gPMU0qhhwJmSsceLPjELNpA6/96U/e Zy+m5xu+kv5tIpXAt7N6GpL5hWGLQulkVmv6YcCMWf2i3QMRNNXmmzWdwXV6Md5kQOJA DKb5Inr2EV/98PF+OYrsFy0c/SF8ZkkhBm5EiLfki5eANWAGlyTPK9Is31CJp8y/eiF7 ovzuWCfSvvm5iLB0MYZGOJAsmbGJn9goYPsr5kJ7pgE39vmc3W4wQWrr3GcKyY17bRzI 2cIriVmF49qTapHbcP33SrXRq2XrY/cBmsB91ABwJy16YOS9t8Sp7AlCMuAfWekFxqiM EEcA== X-Gm-Message-State: ALyK8tL2LV1oGz9PXCoHWs6rk5g7iUtIU8lLibGz1H6WQpp03KOGNHwHKVxu+Io1LDfsDg== X-Received: by 10.98.61.90 with SMTP id k87mr6794746pfa.86.1466226210161; Fri, 17 Jun 2016 22:03:30 -0700 (PDT) Received: from bigtime.twiddle.net (71-37-54-227.tukw.qwest.net. [71.37.54.227]) by smtp.gmail.com with ESMTPSA id 64sm44231981pfj.96.2016.06.17.22.03.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jun 2016 22:03:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 17 Jun 2016 22:03:26 -0700 Message-Id: <1466226207-23581-2-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1466226207-23581-1-git-send-email-rth@twiddle.net> References: <1466226207-23581-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::244 Subject: [Qemu-devel] [PATCH 1/2] tcg: Fix name for high-half register X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, mark.cave-ayland@ilande.co.uk, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Richard Henderson Reviewed-by: David Gibson --- 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;