[PATCH 0/5] hw: Replace some impossible checks by assertions

Philippe Mathieu-Daudé posted 5 patches 3 years, 8 months ago
Test docker-quick@centos7 failed
Test FreeBSD passed
Test docker-mingw@fedora failed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200901104043.91383-1-f4bug@amsat.org
Maintainers: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>, Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>
There is a newer version of this series
hw/gpio/max7310.c   | 4 ----
hw/isa/isa-bus.c    | 9 ++-------
hw/mips/fuloong2e.c | 5 +----
hw/ppc/ppc4xx_pci.c | 8 +++-----
4 files changed, 6 insertions(+), 20 deletions(-)
[PATCH 0/5] hw: Replace some impossible checks by assertions
Posted by Philippe Mathieu-Daudé 3 years, 8 months ago
Trivial patches removing unreachable code.

Philippe Mathieu-Daudé (5):
  hw/gpio/max7310: Remove impossible check
  hw/mips/fuloong2e: Convert pointless error message to an assert()
  hw/ppc/ppc4xx_pci: Use ARRAY_SIZE() instead of magic value
  hw/ppc/ppc4xx_pci: Replace pointless warning by assert()
  hw/isa/isa-bus: Replace hw_error() by assert()

 hw/gpio/max7310.c   | 4 ----
 hw/isa/isa-bus.c    | 9 ++-------
 hw/mips/fuloong2e.c | 5 +----
 hw/ppc/ppc4xx_pci.c | 8 +++-----
 4 files changed, 6 insertions(+), 20 deletions(-)

-- 
2.26.2