Received: from eggs.gnu.org ([2001:4830:134:3::10]:56780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1u1Z-0007U6-Hn for qemu-devel@nongnu.org; Tue, 01 Jul 2014 05:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1u1S-0004g3-1f for qemu-devel@nongnu.org; Tue, 01 Jul 2014 05:06:49 -0400 Received: from oxygen.pond.sub.org ([144.76.244.19]:50904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1u1R-0004fm-SJ for qemu-devel@nongnu.org; Tue, 01 Jul 2014 05:06:41 -0400 Received: from blackfin.pond.sub.org (p5B329B43.dip0.t-ipconnect.de [91.50.155.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by oxygen.pond.sub.org (Postfix) with ESMTPSA id 59900256A4 for ; Tue, 1 Jul 2014 11:06:40 +0200 (CEST) From: Markus Armbruster References: <1401467438-17189-1-git-send-email-armbru@redhat.com> Date: Tue, 01 Jul 2014 11:06:39 +0200 In-Reply-To: <1401467438-17189-1-git-send-email-armbru@redhat.com> (Markus Armbruster's message of "Fri, 30 May 2014 18:30:35 +0200") Message-ID: <87a98tv468.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 0/3] block: Use g_new() & friends more List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com Markus Armbruster writes: > This series is on top of Kevin's "block: Handle failure for > potentially large allocations". > > PATCH 1+2 convert some allocations. While preparing them, I stumbled > over some useless casts, which led to PATCH 3. Fell through the cracks despite Max's R-by, and now it doesn't apply anymore. Pity, because it improves type safety and reduces vulnerability to integer overflows. Is this change wanted? Unless I get a "yes" from a maintainer, I'll drop it. > 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. Can't say > when (or even whether) I can do more parts. Probably not. Even I learn from experience eventually.