From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK6Vr-0004tA-5N for qemu-devel@nongnu.org; Fri, 05 Oct 2012 07:56:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TK6Vm-0004KL-8h for qemu-devel@nongnu.org; Fri, 05 Oct 2012 07:56:15 -0400 Date: Fri, 5 Oct 2012 13:56:06 +0200 From: Stefan Hajnoczi Message-ID: <20121005115606.GB7068@stefanha-thinkpad.redhat.com> References: <1348383061-29754-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1348383061-29754-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw: Fix return value check for bdrv_read, bdrv_write List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Sun, Sep 23, 2012 at 08:51:01AM +0200, Stefan Weil wrote: > Those functions return -errno in case of an error. > The old code would typically only detect EPERM (1) errors. > > Signed-off-by: Stefan Weil > --- > hw/nand.c | 34 ++++++++++++++++++++++------------ > hw/onenand.c | 2 +- > hw/sd.c | 16 +++++++++------- > 3 files changed, 32 insertions(+), 20 deletions(-) Applied, thanks! https://github.com/stefanha/qemu/commits/trivial-patches Stefan