qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] A bit of cleanup around Error
@ 2025-11-19 13:08 Markus Armbruster
  2025-11-19 13:08 ` [PATCH 1/5] hw/core/loader: Make load_elf_hdr() return bool, simplify caller Markus Armbruster
                   ` (4 more replies)
  0 siblings, 5 replies; 31+ messages in thread
From: Markus Armbruster @ 2025-11-19 13:08 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, hreitz, mst, imammedo, anisinha, gengdongjiu1,
	peter.maydell, alistair, edgar.iglesias, npiggin, harshpb, palmer,
	liwei1518, dbarboza, zhiwei_liu, sstabellini, anthony, paul,
	berrange, peterx, farosas, eblake, vsementsov, eduardo,
	marcel.apfelbaum, philmd, wangyanan55, zhao1.liu, qemu-block,
	qemu-arm, qemu-ppc, qemu-riscv, xen-devel

Note: the last patch adds a drive-by FIXME.  I asked for advice on how
to fix it:

    Subject: Incorrect error handling in xen_enable_tpm()
    To: qemu-devel@nongnu.org
    Cc: Stefano Stabellini <sstabellini@kernel.org>, Anthony PERARD <anthony@xenproject.org>, Paul
     Durrant <paul@xen.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
     xen-devel@lists.xenproject.org, Vikram Garhwal <vikram.garhwal@amd.com> 
    Date: Fri, 14 Nov 2025 10:16:58 +0100
    Message-ID: <87jyzt0y9h.fsf@pond.sub.org>

No reply so far.

Markus Armbruster (5):
  hw/core/loader: Make load_elf_hdr() return bool, simplify caller
  hw/nvram/xlnx-bbram: More idiomatic and simpler error reporting
  nbd/client-connection: Replace error_propagate() by assignment
  error: error_free(NULL) is safe, drop unnecessary conditionals
  error: Consistently name Error * objects err, and not errp

 include/hw/loader.h         |  4 +++-
 block/crypto.c              |  8 ++++----
 hw/acpi/ghes.c              |  8 ++++----
 hw/acpi/pcihp.c             |  4 +---
 hw/arm/boot.c               |  6 +-----
 hw/core/loader.c            |  8 ++++++--
 hw/nvram/xlnx-bbram.c       | 18 ++++--------------
 hw/ppc/spapr.c              | 16 ++++++++--------
 hw/riscv/spike.c            | 10 +---------
 hw/xen/xen-pvh-common.c     | 13 ++++++++++---
 io/channel-websock.c        |  4 +---
 io/task.c                   |  4 +---
 migration/migration.c       |  6 ++----
 nbd/client-connection.c     |  3 +--
 nbd/common.c                |  6 +++---
 tests/unit/test-smp-parse.c |  5 +----
 16 files changed, 51 insertions(+), 72 deletions(-)

-- 
2.49.0



^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2025-11-20 19:13 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 13:08 [PATCH 0/5] A bit of cleanup around Error Markus Armbruster
2025-11-19 13:08 ` [PATCH 1/5] hw/core/loader: Make load_elf_hdr() return bool, simplify caller Markus Armbruster
2025-11-19 15:37   ` Richard Henderson
2025-11-19 16:34   ` Vladimir Sementsov-Ogievskiy
2025-11-19 19:12     ` Markus Armbruster
2025-11-20 10:51       ` Philippe Mathieu-Daudé
2025-11-19 18:06   ` Peter Xu
2025-11-20 12:04   ` Daniel Henrique Barboza
2025-11-20 12:55     ` BALATON Zoltan
2025-11-20 19:12       ` Markus Armbruster
2025-11-20 14:53   ` Zhao Liu
2025-11-19 13:08 ` [PATCH 2/5] hw/nvram/xlnx-bbram: More idiomatic and simpler error reporting Markus Armbruster
2025-11-19 16:39   ` Vladimir Sementsov-Ogievskiy
2025-11-19 19:10     ` Markus Armbruster
2025-11-19 18:09   ` Peter Xu
2025-11-20  8:10   ` Luc Michel
2025-11-20 14:54   ` Zhao Liu
2025-11-19 13:08 ` [PATCH 3/5] nbd/client-connection: Replace error_propagate() by assignment Markus Armbruster
2025-11-19 16:43   ` Vladimir Sementsov-Ogievskiy
2025-11-19 18:09   ` Peter Xu
2025-11-20 14:55   ` Zhao Liu
2025-11-19 13:08 ` [PATCH 4/5] error: error_free(NULL) is safe, drop unnecessary conditionals Markus Armbruster
2025-11-19 15:38   ` Richard Henderson
2025-11-19 16:44   ` Vladimir Sementsov-Ogievskiy
2025-11-19 18:04   ` Peter Xu
2025-11-20 14:56   ` Zhao Liu
2025-11-19 13:08 ` [PATCH 5/5] error: Consistently name Error * objects err, and not errp Markus Armbruster
2025-11-19 13:22   ` Andrew Cooper
2025-11-19 13:35     ` Daniel P. Berrangé
2025-11-19 13:48       ` Markus Armbruster
2025-11-20 14:57   ` Zhao Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).