From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwAj0-0003Pd-Nz for qemu-devel@nongnu.org; Wed, 03 Dec 2014 09:16:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwAiu-0001TX-KB for qemu-devel@nongnu.org; Wed, 03 Dec 2014 09:16:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwAiu-0001TC-Cf for qemu-devel@nongnu.org; Wed, 03 Dec 2014 09:16:08 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB3EG4bi024354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 3 Dec 2014 09:16:05 -0500 Message-ID: <547F1B20.7080809@redhat.com> Date: Wed, 03 Dec 2014 15:16:00 +0100 From: Max Reitz MIME-Version: 1.0 References: <1417602521-14482-1-git-send-email-famz@redhat.com> <1417602521-14482-4-git-send-email-famz@redhat.com> In-Reply-To: <1417602521-14482-4-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 3/6] vmdk: Clean up descriptor file reading List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Markus Armbruster , Stefan Hajnoczi On 2014-12-03 at 11:28, Fam Zheng wrote: > Zeroing a buffer that will be filled right after is not necessary, and > allocating a power of two + 1 is naughty. > > Suggested-by: Markus Armbruster > Signed-off-by: Fam Zheng > --- > block/vmdk.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Max Reitz