Received: from eggs.gnu.org ([2001:4830:134:3::10]:34041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z05U4-0000hz-Sk for qemu-devel@nongnu.org; Wed, 03 Jun 2015 06:01:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z05U2-0006hU-Jg for qemu-devel@nongnu.org; Wed, 03 Jun 2015 06:01:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z05U2-0006hL-FI for qemu-devel@nongnu.org; Wed, 03 Jun 2015 06:01:14 -0400 From: Juan Quintela In-Reply-To: <1432211056-6265-4-git-send-email-dgilbert@redhat.com> (David Alan Gilbert's message of "Thu, 21 May 2015 13:24:13 +0100") References: <1432211056-6265-1-git-send-email-dgilbert@redhat.com> <1432211056-6265-4-git-send-email-dgilbert@redhat.com> Date: Wed, 03 Jun 2015 12:01:12 +0200 Message-ID: <87zj4hqffb.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 3/6] qemu_ram_foreach_block: pass up error value, and down the ramblock name Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: amit.shah@redhat.com, qemu-devel@nongnu.org, david@gibson.dropbear.id.au "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > check the return value of the function it calls and error if it's non-0 > Fixup qemu_rdma_init_one_block that is the only current caller, > and rdma_add_block the only function it calls using it. > > Pass the name of the ramblock to the function; helps in debugging. > > Signed-off-by: Dr. David Alan Gilbert > Reviewed-by: David Gibson > Reviewed-by: Amit Shah > Reviewed-by: Michael R. Hines Reviewed-by: Juan Quintela