bulk: Replace assert(0) -> g_assert_not_reached()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | target/ppc: fix warning with clang-15target/ | +2 | 0 replies | |
| 2/5 | scripts/checkpatch.pl: Do not allow assert(0)scripts/ | +3 | 3 replies | |
| 3/5 | bulk: Replace [g_]assert(0) -> g_assert_not_reached()docs/ docs/ hw/ +18 more | +91 | 6 replies | |
| 4/5 | block/vvfat: Remove pointless check of NDEBUGblock/ | +0 | 1 reply | |
| 5/5 | hw: Remove mentions of NDEBUGhw/ hw/ | +0 | 6 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Philippe Mathieu-Daudé |
|---|---|---|
| 1/5 | R-b | R-b |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] bulk: Replace assert(0) -> g_assert_not_reached()
Save contributors to post a patch each time clang produce a -Werror=maybe-uninitialized warning on assert(0). Replace by g_assert_not_reached()() and prohibit '[g_]assert(0)'. Remove NDEBUG.
Philippe Mathieu-Daudé (4):
scripts/checkpatch.pl: Do not allow assert(0)
bulk: Replace [g_]assert(0) -> g_assert_not_reached() block/vvfat: Remove pointless check of NDEBUG
hw: Remove mentions of NDEBUG
Pierrick Bouvier (1):
target/ppc: fix warning with clang-15
block/vvfat.c | 3 - docs/spin/aio_notify_accept.promela | 6 +- docs/spin/aio_notify_bug.promela | 6 +- hw/acpi/aml-build.c | 3 +- hw/arm/highbank.c | 2 +- hw/char/avr_usart.c | 2 +- hw/core/numa.c | 2 +- hw/net/i82596.c | 2 +- hw/scsi/mptsas.c | 2 - hw/virtio/virtio.c | 2 - hw/watchdog/watchdog.c | 2 +- migration/migration-hmp-cmds.c | 2 +- migration/postcopy-ram.c | 21 ++---- migration/ram.c | 8 +-- qobject/qlit.c | 2 +- qobject/qnum.c | 12 ++-- scripts/checkpatch.pl | 3 + softmmu/rtc.c | 2 +- target/mips/sysemu/physaddr.c | 3 +- target/mips/tcg/msa_helper.c | 104 ++++++++++++++-------------- target/ppc/dfp_helper.c | 12 ++-- target/ppc/mmu_helper.c | 2 +- tests/qtest/ipmi-bt-test.c | 2 +- tests/qtest/ipmi-kcs-test.c | 4 +- tests/qtest/rtl8139-test.c | 2 +- 25 files changed, 96 insertions(+), 115 deletions(-)
Signature · 1 line
2.38.1