[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] block/win32: fix 'ret not initia
From: |
Fam Zheng |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH] block/win32: fix 'ret not initialized' warning |
Date: |
Tue, 16 May 2017 16:03:32 +0800 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Tue, 05/16 09:52, Stefan Weil wrote:
> Am 16.05.2017 um 09:42 schrieb Gerd Hoffmann:
> > Signed-off-by: Gerd Hoffmann <address@hidden>
> > ---
> > block/file-win32.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/block/file-win32.c b/block/file-win32.c
> > index 1a35dbabf2..8f14f0bdcd 100644
> > --- a/block/file-win32.c
> > +++ b/block/file-win32.c
> > @@ -346,6 +346,7 @@ static int raw_open(BlockDriverState *bs, QDict
> > *options, int flags,
> >
> > if (qdict_get_try_bool(options, "locking", false)) {
> > error_setg(errp, "locking=on is not supported on Windows");
> > + ret = -EINVAL;
> > goto fail;
> > }
>
>
> This is a bug fix for commit 1c3a555c.
>
> Reviewed-by: Stefan Weil <address@hidden>
>
>
Thank you!
Reviewed-by: Fam Zheng <address@hidden>