mbox series

[0/4] hw: Replace some magic by definitions

Message ID 20201011194918.3219195-1-f4bug@amsat.org
Headers show
Series hw: Replace some magic by definitions | expand

Message

Philippe Mathieu-Daudé Oct. 11, 2020, 7:49 p.m. UTC
A bunch of trivial cleanups, replacing magic
values by definitions to make the code easier
to review.

Expected to be merged via qemu-trivial@.

Regards,

Phil.

Philippe Mathieu-Daudé (4):
  hw: Replace magic value by PCI_NUM_PINS definition
  hw/pci-host/pam: Use ARRAY_SIZE() instead of magic value
  hw/pci-host/versatile: Add WINDOW_COUNT definition to replace magic
    '3'
  tests/qtest: Replace magic value by NANOSECONDS_PER_SECOND definition

 hw/arm/virt.c           |  4 ++--
 hw/mips/gt64xxx_pci.c   |  2 +-
 hw/pci-host/pam.c       |  2 +-
 hw/pci-host/versatile.c | 34 +++++++++++++++++-----------------
 tests/qtest/rtc-test.c  |  2 +-
 5 files changed, 22 insertions(+), 22 deletions(-)

-- 
2.26.2