qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 617160: load_elf: Remove unused address varia


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 617160: load_elf: Remove unused address variables from cal...
Date: Mon, 28 Sep 2020 11:45:34 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 617160c9e1f8022563c33aa7fd204535d4d49f8c
      
https://github.com/qemu/qemu/commit/617160c9e1f8022563c33aa7fd204535d4d49f8c
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M hw/alpha/dp264.c
    M hw/arm/armv7m.c
    M hw/cris/boot.c
    M hw/microblaze/boot.c
    M hw/mips/fuloong2e.c
    M hw/moxie/moxiesim.c
    M hw/nios2/boot.c
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M hw/ppc/ppc440_bamboo.c
    M hw/ppc/sam460ex.c
    M hw/ppc/spapr.c
    M hw/ppc/virtex_ml507.c
    M hw/riscv/boot.c
    M hw/xtensa/sim.c
    M hw/xtensa/xtfpga.c

  Log Message:
  -----------
  load_elf: Remove unused address variables from callers

Several callers of load_elf() pass pointers for lowaddr and highaddr
parameters which are then not used for anything. This may stem from a
misunderstanding that load_elf need a value here but in fact it can
take NULL to ignore these values. Remove such unused variables and
pass NULL instead from callers that don't need these.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20200705174020.BDD0174633F@zero.eik.bme.hu>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>


  Commit: e8a612b7e3cdbdface1e34a27300ca2f8521dee0
      
https://github.com/qemu/qemu/commit/e8a612b7e3cdbdface1e34a27300ca2f8521dee0
  Author: Alistair Francis <alistair.francis@wdc.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M hw/core/register.c

  Log Message:
  -----------
  core/register: Specify instance_size in the TypeInfo

Reported-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: 
<4cf1beb7dafb9143c261d266557d3173bf160524.1598376594.git.alistair.francis@wdc.com>


  Commit: 74504514b154ebebdff577d88e4bf5c13074e9ed
      
https://github.com/qemu/qemu/commit/74504514b154ebebdff577d88e4bf5c13074e9ed
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M hw/alpha/dp264.c
    M hw/arm/armv7m.c
    M hw/core/register.c
    M hw/cris/boot.c
    M hw/microblaze/boot.c
    M hw/mips/fuloong2e.c
    M hw/moxie/moxiesim.c
    M hw/nios2/boot.c
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M hw/ppc/ppc440_bamboo.c
    M hw/ppc/sam460ex.c
    M hw/ppc/spapr.c
    M hw/ppc/virtex_ml507.c
    M hw/riscv/boot.c
    M hw/xtensa/sim.c
    M hw/xtensa/xtfpga.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/alistair/tags/pull-register-20200927' 
into staging

Two small patches. One with a fix for the register API instance_size
and one for removing unused address variables from load_elf.

# gpg: Signature made Sun 27 Sep 2020 14:45:06 BST
# gpg:                using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054
# gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full]
# Primary key fingerprint: F6C4 AC46 D493 4868 D3B8  CE8F 21E1 0D29 DF97 7054

* remotes/alistair/tags/pull-register-20200927:
  core/register: Specify instance_size in the TypeInfo
  load_elf: Remove unused address variables from callers

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/92d095026766...74504514b154



reply via email to

[Prev in Thread] Current Thread [Next in Thread]