From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJhJA-0006Jg-Pq for qemu-devel@nongnu.org; Tue, 19 Aug 2014 07:10:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJhJ4-0004A9-B8 for qemu-devel@nongnu.org; Tue, 19 Aug 2014 07:10:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJhJ3-0004A1-Tk for qemu-devel@nongnu.org; Tue, 19 Aug 2014 07:10:26 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7JBAOC1007887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 19 Aug 2014 07:10:24 -0400 Date: Tue, 19 Aug 2014 13:10:20 +0200 From: Kevin Wolf Message-ID: <20140819111020.GB4638@noname.redhat.com> References: <1408437071-25162-1-git-send-email-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1408437071-25162-1-git-send-email-armbru@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 0/4] block: Use g_new() & friends more List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: jcody@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, mreitz@redhat.com Am 19.08.2014 um 10:31 hat Markus Armbruster geschrieben: > 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 * Thanks, applied all to the block branch. Kevin