From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, jcody@redhat.com, stefanha@redhat.com,
mreitz@redhat.com
Subject: [Qemu-devel] [PATCH v3 0/4] block: Use g_new() & friends more
Date: Tue, 19 Aug 2014 10:31:07 +0200 [thread overview]
Message-ID: <1408437071-25162-1-git-send-email-armbru@redhat.com> (raw)
PATCH 1+2 convert some allocations. While preparing them, I stumbled
over dead error handling and some useless casts, which led to PATCH
3+4.
I posted a tree-wide version of PATCH 1 some time ago, and was told to
split it up. This is the block part, redone from scratch. Other
parts available on request.
v3:
* Manual style cleanups in PATCH 4 [Max, Jeff]
* PATCH 1-3 unchanged.
v2:
* Regenerated with spatch.
* Because of that, I decided not to carry Max's R-by forward.
Markus Armbruster (4):
block: Use g_new() & friends where that makes obvious sense
block: Use g_new() & friends to avoid multiplying sizes
qemu-io-cmds: g_renew() can't fail, bury dead error handling
block: Drop some superfluous casts from void *
block-migration.c | 6 +++---
block.c | 14 +++++++-------
block/archipelago.c | 6 +++---
block/bochs.c | 2 +-
block/gluster.c | 8 ++++----
block/iscsi.c | 2 +-
block/nfs.c | 2 +-
block/parallels.c | 2 +-
block/qcow.c | 2 +-
block/qcow2-cache.c | 2 +-
block/qcow2-cluster.c | 2 +-
block/qcow2-refcount.c | 8 ++++----
block/qcow2-snapshot.c | 8 ++++----
block/qed-check.c | 3 +--
block/raw-posix.c | 2 +-
block/rbd.c | 6 +++---
block/sheepdog.c | 6 +++---
block/vdi.c | 2 +-
block/vhdx-log.c | 2 +-
block/vhdx.c | 4 ++--
block/vmdk.c | 7 +++----
block/vvfat.c | 10 +++++-----
blockdev-nbd.c | 2 +-
blockdev.c | 2 +-
hw/block/nvme.c | 8 ++++----
hw/ide/ahci.c | 2 +-
hw/ide/microdrive.c | 2 +-
qemu-io-cmds.c | 21 ++++++---------------
qemu-io.c | 2 +-
29 files changed, 67 insertions(+), 78 deletions(-)
--
1.9.3
next reply other threads:[~2014-08-19 8:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-19 8:31 Markus Armbruster [this message]
2014-08-19 8:31 ` [Qemu-devel] [PATCH v3 1/4] block: Use g_new() & friends where that makes obvious sense Markus Armbruster
2014-08-19 8:31 ` [Qemu-devel] [PATCH v3 2/4] block: Use g_new() & friends to avoid multiplying sizes Markus Armbruster
2014-08-19 8:31 ` [Qemu-devel] [PATCH v3 3/4] qemu-io-cmds: g_renew() can't fail, bury dead error handling Markus Armbruster
2014-08-19 8:31 ` [Qemu-devel] [PATCH v3 4/4] block: Drop some superfluous casts from void * Markus Armbruster
2014-08-19 11:10 ` [Qemu-devel] [PATCH v3 0/4] block: Use g_new() & friends more Kevin Wolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1408437071-25162-1-git-send-email-armbru@redhat.com \
--to=armbru@redhat.com \
--cc=jcody@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).