[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/15] hw/ppc/virtex_ml507: Prefer local over global variable
From: |
Daniel Henrique Barboza |
Subject: |
[PULL 10/15] hw/ppc/virtex_ml507: Prefer local over global variable |
Date: |
Tue, 20 Dec 2022 10:52:46 -0300 |
From: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar@zeroasic.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216145709.271940-4-shentey@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@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.38.1
- [PULL 00/15] ppc queue, Daniel Henrique Barboza, 2022/12/20
- [PULL 01/15] MAINTAINERS: downgrade PPC KVM/TCG CPUs and pSeries to 'Odd Fixes', Daniel Henrique Barboza, 2022/12/20
- [PULL 02/15] hw/sd/sdhci: MMIO region is implemented in 32-bit accesses, Daniel Henrique Barboza, 2022/12/20
- [PULL 04/15] hw/ppc/e500: Add Freescale eSDHC to e500plat, Daniel Henrique Barboza, 2022/12/20
- [PULL 03/15] hw/sd/sdhci: Support big endian SD host controller interfaces, Daniel Henrique Barboza, 2022/12/20
- [PULL 06/15] hw/ppc/vof: Do not include the full "cpu.h", Daniel Henrique Barboza, 2022/12/20
- [PULL 05/15] target/ppc/kvm: Add missing "cpu.h" and "exec/hwaddr.h", Daniel Henrique Barboza, 2022/12/20
- [PULL 07/15] hw/ppc/spapr: Reduce "vof.h" inclusion, Daniel Henrique Barboza, 2022/12/20
- [PULL 08/15] target/ppc/mmu_common: Log which effective address had no TLB entry found, Daniel Henrique Barboza, 2022/12/20
- [PULL 09/15] target/ppc/mmu_common: Fix table layout of "info tlb" HMP command, Daniel Henrique Barboza, 2022/12/20
- [PULL 10/15] hw/ppc/virtex_ml507: Prefer local over global variable,
Daniel Henrique Barboza <=
- [PULL 11/15] hw/ppc/e500: Prefer local variable over qdev_get_machine(), Daniel Henrique Barboza, 2022/12/20
- [PULL 12/15] hw/ppc/e500: Resolve variable shadowing, Daniel Henrique Barboza, 2022/12/20
- [PULL 13/15] hw/ppc/e500: Move comment to more appropriate place, Daniel Henrique Barboza, 2022/12/20
- [PULL 14/15] target/ppc: Implement the DEXCR and HDEXCR, Daniel Henrique Barboza, 2022/12/20
- [PULL 15/15] target/ppc: Check DEXCR on hash{st, chk} instructions, Daniel Henrique Barboza, 2022/12/20
- Re: [PULL 00/15] ppc queue, Peter Maydell, 2022/12/20