Skip to content

x86: Trivial cleanups around g_malloc()

Markus Armbruster qemu-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4x86: Drop superfluous conditionals around g_free()hw/i386/pc_sysfw.c+1 -30 replies
2/4x86: Fuse g_malloc(); memset() into g_malloc0()target-i386/arch_dump.c+4 -120 replies
3/4x86: Use g_new() & friends where that makes obvious sensehw/i386/pc.c target-i386/kvm.c+2 -30 replies
4/4x86: Drop some superfluous casts from void *target-i386/cpu.c target-i386/kvm.c+2 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric Blake
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] x86: Trivial cleanups around g_malloc()

Markus Armbruster (4):
x86: Drop superfluous conditionals around g_free()
x86: Fuse g_malloc(); memset() into g_malloc0()
x86: Use g_new() & friends where that makes obvious sense
x86: Drop some superfluous casts from void *

 hw/i386/pc.c            |  3 +--
 hw/i386/pc_sysfw.c      |  4 +---
 target-i386/arch_dump.c | 16 ++++------------
 target-i386/cpu.c       |  2 +-
 target-i386/kvm.c       |  4 ++--
 5 files changed, 9 insertions(+), 20 deletions(-)
Signature · 1 line
1.9.3