Skip to content

Trivial cleanups around g_malloc()

Markus Armbruster qemu-devel qemu-trivial 2 versions – Applied

Status from this message: Applied all to -trivial, thank you!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyApplied
  2. v16 patches 10 repliesSuperseded

Changes in v2 from the cover letter

* Trivially rebased, R-bys retained

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6onenand: g_malloc() can't fail, bury dead error handlinghw/block/onenand.c+1 -70 replies
2/6rtl8139: g_malloc() can't fail, bury dead error handlinghw/net/rtl8139.c+0 -140 replies
3/6kvm: g_malloc() can't fail, bury dead error handlingkvm-all.c+0 -40 replies
4/6rdma: g_malloc0() can't fail, bury dead error handlingmigration/rdma.c+0 -30 replies
5/6vnc: g_realloc() can't fail, bury dead error handlingui/vnc.c+0 -40 replies
6/6translate-all: Use g_try_malloc() for dynamic translator buffertranslate-all.c+1 -10 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchEric BlakeGongleiThomas Huth
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b R-b
6/6R-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 3 reviewers.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/6] Trivial cleanups around g_malloc()

I'm routing these patches through qemu-trivial, even though some of them touch actively maintained code, and could go through the respective tree instead:

* PATCH 1 block (Kevin, Stefan)

* PATCH 3 KVM (Paolo)

* PATCH 4 migration (Juan, Amit)

* PATCH 5 VNC (Gerd)

If you want me to reroute any of them, let me know.

v2:
* Trivially rebased, R-bys retained

Markus Armbruster (6):
onenand: g_malloc() can't fail, bury dead error handling
rtl8139: g_malloc() can't fail, bury dead error handling
kvm: g_malloc() can't fail, bury dead error handling
rdma: g_malloc0() can't fail, bury dead error handling
vnc: g_realloc() can't fail, bury dead error handling
translate-all: Use g_try_malloc() for dynamic translator buffer

 hw/block/onenand.c |  8 +-------
 hw/net/rtl8139.c   | 14 --------------
 kvm-all.c          |  4 ----
 migration/rdma.c   |  3 ---
 translate-all.c    |  2 +-
 ui/vnc.c           |  4 ----
 6 files changed, 2 insertions(+), 33 deletions(-)
Signature · 1 line
1.9.3