From: Palmer Dabbelt <palmer@sifive.com>
To: qemu-riscv@nongnu.org
Cc: qemu-devel@nongnu.org,
Alistair Francis <Alistair.Francis@wdc.com>,
Alistair Francis <alistair.francis@wdc.com>,
Palmer Dabbelt <palmer@sifive.com>
Subject: [Qemu-devel] [PULL 1/4] hw/riscv/virt: Free the test device tree node name
Date: Tue, 13 Nov 2018 15:50:42 -0800 [thread overview]
Message-ID: <20181113235045.14155-2-palmer@sifive.com> (raw)
In-Reply-To: <20181113235045.14155-1-palmer@sifive.com>
From: Alistair Francis <Alistair.Francis@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
---
hw/riscv/virt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c
index 4a137a503c8a..2b38f890702c 100644
--- a/hw/riscv/virt.c
+++ b/hw/riscv/virt.c
@@ -240,6 +240,7 @@ static void *create_fdt(RISCVVirtState *s, const struct MemmapEntry *memmap,
qemu_fdt_setprop_cells(fdt, nodename, "reg",
0x0, memmap[VIRT_TEST].base,
0x0, memmap[VIRT_TEST].size);
+ g_free(nodename);
nodename = g_strdup_printf("/uart@%lx",
(long)memmap[VIRT_UART0].base);
--
2.18.1
next prev parent reply other threads:[~2018-11-13 23:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-13 23:50 [Qemu-devel] [PR RFC] RISC-V Patches for 3.1-rc2 Palmer Dabbelt
2018-11-13 23:50 ` Palmer Dabbelt [this message]
2018-11-13 23:50 ` [Qemu-devel] [PULL 2/4] target/riscv: Fix FCLASS_D being treated as RV64 only Palmer Dabbelt
2018-11-13 23:50 ` [Qemu-devel] [PULL 3/4] target/riscv: Fix sfence.vm/a both available in any priv version Palmer Dabbelt
2018-11-13 23:50 ` [Qemu-devel] [PULL 4/4] RISC-V: Respect fences for user-only emulators Palmer Dabbelt
2018-11-14 2:32 ` Michael Clark
2018-11-14 3:06 ` [Qemu-devel] [PR RFC] RISC-V Patches for 3.1-rc2 Michael Clark
-- strict thread matches above, loose matches on Subject: below --
2018-11-16 21:30 [Qemu-devel] [PULL] " Palmer Dabbelt
2018-11-16 21:30 ` [Qemu-devel] [PULL 1/4] hw/riscv/virt: Free the test device tree node name Palmer Dabbelt
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=20181113235045.14155-2-palmer@sifive.com \
--to=palmer@sifive.com \
--cc=Alistair.Francis@wdc.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@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).