Skip to content

hw: Add missing error-propagation code

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12scripts/coccinelle: Add script to catch missing error_propagate() callsscripts/coccinelle/object_property_missing_error_propagate.cocci+58 -01 reply
2/12hw/arm/bcm2835_peripherals: Add missing error-propagation codehw/arm/bcm2835_peripherals.c+8 -01 reply
3/12hw/arm/fsl-imx: Add missing error-propagation codehw/arm/fsl-imx25.c hw/arm/fsl-imx6.c+16 -01 reply
4/12hw/arm/stm32fx05_soc: Add missing error-propagation codehw/arm/stm32f205_soc.c hw/arm/stm32f405_soc.c+8 -02 replies
5/12hw/i386/x86: Add missing error-propagation codehw/i386/x86.c+4 -01 reply
6/12hw/dma/xilinx_axidma: Add missing error-propagation codehw/dma/xilinx_axidma.c+3 -02 replies
7/12hw/mips/cps: Add missing error-propagation codehw/mips/cps.c+52 -02 replies
8/12hw/mips/boston: Add missing error-propagation codehw/mips/boston.c+6 -112 replies
9/12hw/mips/mips_malta: Add missing error-propagation codehw/mips/mips_malta.c+14 -52 replies
10/12hw/misc/macio/macio: Add missing error-propagation codehw/misc/macio/macio.c+4 -02 replies
11/12hw/net/xilinx_axienet: Add missing error-propagation codehw/net/xilinx_axienet.c+3 -02 replies
12/12hw/riscv/sifive_u: Add missing error-propagation codehw/riscv/sifive_u.c+8 -04 replies

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchPeter MaydellAlistair FrancisDavid GibsonAleksandar Markovic
1/12Inspired-by
2/12R-b
3/12R-b
4/12R-b R-b
5/12
6/12R-b
7/12R-b
8/12R-b R-b
9/12R-b R-b
10/12R-b R-b A-b
11/12R-b
12/12R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH-for-5.0 00/12] hw: Add missing error-propagation code

This series is inspired of Peter fix:
"hw/arm/xlnx-zynqmp.c: fix some error-handling code"
https://www.mail-archive.com/[email protected]/msg691636.html

Add a cocci script to fix the other places.

Based-on: <[email protected]>

Philippe Mathieu-Daud=C3=A9 (12):
scripts/coccinelle: Add script to catch missing error_propagate()
calls
hw/arm/bcm2835_peripherals: Add missing error-propagation code hw/arm/fsl-imx: Add missing error-propagation code hw/arm/stm32fx05_soc: Add missing error-propagation code hw/i386/x86: Add missing error-propagation code hw/dma/xilinx_axidma: Add missing error-propagation code hw/mips/cps: Add missing error-propagation code hw/mips/boston: Add missing error-propagation code hw/mips/mips_malta: Add missing error-propagation code hw/misc/macio/macio: Add missing error-propagation code hw/net/xilinx_axienet: Add missing error-propagation code hw/riscv/sifive_u: Add missing error-propagation code

 ...ect_property_missing_error_propagate.cocci | 58 +++++++++++++++++++
 hw/arm/bcm2835_peripherals.c                  |  8 +++
 hw/arm/fsl-imx25.c                            |  8 +++
 hw/arm/fsl-imx6.c                             |  8 +++
 hw/arm/stm32f205_soc.c                        |  4 ++
 hw/arm/stm32f405_soc.c                        |  4 ++
 hw/dma/xilinx_axidma.c                        |  3 +
 hw/i386/x86.c                                 |  4 ++
 hw/mips/boston.c                              | 17 ++----
 hw/mips/cps.c                                 | 52 +++++++++++++++++
 hw/mips/mips_malta.c                          | 19 ++++--
 hw/misc/macio/macio.c                         |  4 ++
 hw/net/xilinx_axienet.c                       |  3 +
 hw/riscv/sifive_u.c                           |  8 +++
 14 files changed, 184 insertions(+), 16 deletions(-)
 create mode 100644 scripts/coccinelle/object_property_missing_error_propagat=

e.cocci

--=20
2.21.1