On 20.04.2018 16:52, Peter Maydell wrote: > Change all the uses of serial_hds[] to go via the new > serial_hd() function. Code change produced with: > find hw -name '*.[ch]' | xargs sed -i -e > 's/serial_hds\[\([^]]*\)\]/serial_hd(\1)/g' > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > hw/arm/allwinner-a10.c | 4 ++-- > hw/arm/aspeed_soc.c | 4 ++-- > hw/arm/bcm2835_peripherals.c | 4 ++-- > hw/arm/digic.c | 2 +- > hw/arm/fsl-imx25.c | 2 +- > hw/arm/fsl-imx31.c | 2 +- > hw/arm/fsl-imx6.c | 4 ++-- > hw/arm/fsl-imx7.c | 2 +- > hw/arm/highbank.c | 2 +- > hw/arm/integratorcp.c | 4 ++-- > hw/arm/kzm.c | 4 ++-- > hw/arm/mps2-tz.c | 2 +- > hw/arm/mps2.c | 4 ++-- > hw/arm/msf2-soc.c | 4 ++-- > hw/arm/musicpal.c | 8 ++++---- > hw/arm/omap1.c | 6 +++--- > hw/arm/omap2.c | 10 +++++----- > hw/arm/pxa2xx.c | 16 ++++++++-------- > hw/arm/realview.c | 8 ++++---- > hw/arm/stellaris.c | 2 +- > hw/arm/stm32f205_soc.c | 2 +- > hw/arm/strongarm.c | 2 +- > hw/arm/versatilepb.c | 8 ++++---- > hw/arm/vexpress.c | 8 ++++---- > hw/arm/virt.c | 4 ++-- > hw/arm/xilinx_zynq.c | 4 ++-- > hw/arm/xlnx-zynqmp.c | 2 +- > hw/char/exynos4210_uart.c | 2 +- > hw/char/serial-isa.c | 4 ++-- > hw/char/xen_console.c | 2 +- > hw/cris/axis_dev88.c | 2 +- > hw/hppa/machine.c | 4 ++-- > hw/isa/isa-superio.c | 4 ++-- > hw/lm32/lm32_boards.c | 8 ++++---- > hw/lm32/milkymist.c | 4 ++-- > hw/m68k/mcf5206.c | 4 ++-- > hw/m68k/mcf5208.c | 6 +++--- > hw/microblaze/petalogix_ml605_mmu.c | 2 +- > hw/microblaze/petalogix_s3adsp1800_mmu.c | 2 +- > hw/mips/boston.c | 2 +- > hw/mips/mips_jazz.c | 8 ++++---- > hw/mips/mips_malta.c | 2 +- > hw/mips/mips_mipssim.c | 4 ++-- > hw/misc/macio/macio.c | 4 ++-- > hw/moxie/moxiesim.c | 4 ++-- > hw/nios2/10m50_devboard.c | 2 +- > hw/openrisc/openrisc_sim.c | 2 +- > hw/ppc/e500.c | 12 ++++++------ > hw/ppc/ppc405_uc.c | 16 ++++++++-------- > hw/ppc/ppc440_bamboo.c | 8 ++++---- > hw/ppc/sam460ex.c | 8 ++++---- > hw/ppc/spapr.c | 4 ++-- > hw/ppc/virtex_ml507.c | 2 +- > hw/riscv/sifive_e.c | 4 ++-- > hw/riscv/sifive_u.c | 4 ++-- > hw/riscv/spike.c | 4 ++-- > hw/riscv/virt.c | 2 +- > hw/sh4/r2d.c | 2 +- > hw/sh4/sh7750.c | 4 ++-- > hw/sparc/leon3.c | 4 ++-- > hw/sparc/sun4m.c | 4 ++-- > hw/sparc64/niagara.c | 4 ++-- > hw/sparc64/sun4u.c | 2 +- > hw/xtensa/sim.c | 4 ++-- > hw/xtensa/xtfpga.c | 2 +-
Phew, that was a big patch, but looks good as far as I can see: Reviewed-by: Thomas Huth <th...@redhat.com>