[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH] s390x/vfio-ap: report correct error
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH] s390x/vfio-ap: report correct error |
Date: |
Tue, 16 Oct 2018 18:44:25 +0200 |
On Tue, 16 Oct 2018 13:58:17 +0200
Cornelia Huck <address@hidden> wrote:
> If ioctl(..., VFIO_DEVICE_RESET) fails, we want to report errno
> instead of ret (which is always -1 on error).
>
> Fixes Coverity issue CID 1396176.
>
> Reported-by: Peter Maydell <address@hidden>
> Signed-off-by: Cornelia Huck <address@hidden>
> ---
> hw/vfio/ap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Queued to s390-next.