[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/6] hw/ppc/virtex_ml507: Prefer local over global variable
From: |
Edgar E. Iglesias |
Subject: |
Re: [PATCH 3/6] hw/ppc/virtex_ml507: Prefer local over global variable |
Date: |
Fri, 16 Dec 2022 16:54:03 +0100 |
On Fri, Dec 16, 2022 at 03:57:06PM +0100, Bernhard Beschow wrote:
> Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar@zeroasic.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, 2022/12/16
- [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
- Re: [PATCH 0/6] Trivial PPC cleanups, Daniel Henrique Barboza, 2022/12/16