[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/6] hw/ppc/virtex_ml507: Prefer local over global variable
From: |
Bernhard Beschow |
Subject: |
[PATCH 3/6] hw/ppc/virtex_ml507: Prefer local over global variable |
Date: |
Fri, 16 Dec 2022 15:57:06 +0100 |
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
hw/ppc/virtex_ml507.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ppc/virtex_ml507.c b/hw/ppc/virtex_ml507.c
index 13cace229b..f2f81bd425 100644
--- a/hw/ppc/virtex_ml507.c
+++ b/hw/ppc/virtex_ml507.c
@@ -157,7 +157,7 @@ static int xilinx_load_device_tree(MachineState *machine,
int r;
const char *dtb_filename;
- dtb_filename = current_machine->dtb;
+ dtb_filename = machine->dtb;
if (dtb_filename) {
fdt = load_device_tree(dtb_filename, &fdt_size);
if (!fdt) {
--
2.39.0
- [PATCH 0/6] Trivial PPC cleanups, Bernhard Beschow, 2022/12/16
- [PATCH 1/6] target/ppc/mmu_common: Log which effective address had no TLB entry found, Bernhard Beschow, 2022/12/16
- [PATCH 5/6] hw/ppc/e500: Resolve variable shadowing, Bernhard Beschow, 2022/12/16
- [PATCH 3/6] hw/ppc/virtex_ml507: Prefer local over global variable,
Bernhard Beschow <=
- [PATCH 6/6] hw/ppc/e500: Move comment to more appropriate place, Bernhard Beschow, 2022/12/16
- [PATCH 2/6] target/ppc/mmu_common: Fix table layout of "info tlb" HMP command, Bernhard Beschow, 2022/12/16
- [PATCH 4/6] hw/ppc/e500: Prefer local variable over qdev_get_machine(), Bernhard Beschow, 2022/12/16
- Re: [PATCH 0/6] Trivial PPC cleanups, Cédric Le Goater, 2022/12/16