Skip to content

misc: Reduce assert side-effects

Philippe Mathieu-Daudé qemu-devel qemu-trivial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests/qtest/ipmi-kcs: Fix assert side-effecttests/qtest/ipmi-kcs-test.c+2 -12 replies
2/5hw/pci-bridge: Do not declare local variable only used for assertionhw/pci-bridge/pci_bridge_dev.c+1 -31 reply
3/5hw/ppc/spapr: Do not declare local variable only used for assertionhw/ppc/spapr.c+1 -21 reply
4/5tcg/tcg: Do not declare local variable only used for assertiontcg/tcg.c+1 -21 reply
5/5util/qsp: Do not declare local variable only used for assertionutil/qsp.c+1 -32 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchGreg KurzThomas Huth
1/5R-b R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] misc: Reduce assert side-effects

Fix a Coverity warning in qtest,
do not declare local variable only used for assertions (use them directly).

Philippe Mathieu-Daudé (5):
tests/qtest/ipmi-kcs: Fix assert side-effect hw/pci-bridge: Do not declare local variable only used for assertion hw/ppc/spapr: Do not declare local variable only used for assertion tcg/tcg: Do not declare local variable only used for assertion util/qsp: Do not declare local variable only used for assertion

 hw/pci-bridge/pci_bridge_dev.c | 4 +---
 hw/ppc/spapr.c                 | 3 +--
 tcg/tcg.c                      | 3 +--
 tests/qtest/ipmi-kcs-test.c    | 3 ++-
 util/qsp.c                     | 4 +---
 5 files changed, 6 insertions(+), 11 deletions(-)
Signature · 1 line
2.26.2