[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 1/1] block: fix shadowed variable in bdrv_co_
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH v2 1/1] block: fix shadowed variable in bdrv_co_pdiscard |
Date: |
Tue, 11 Jul 2017 10:23:46 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Mon, Jul 10, 2017 at 06:05:59PM +0300, Denis V. Lunev wrote:
> We've had a shadowed 'ret' variable, which risks returning the wrong
> value, introduced in commit b9c64947.
>
> Signed-off-by: Denis V. Lunev <address@hidden>
> Reviewed-by: Fam Zheng <address@hidden>
> CC: Stefan Hajnoczi <address@hidden>
> CC: Kevin Wolf <address@hidden>
> CC: Eric Blake <address@hidden>
> ---
> block/io.c | 1 -
> 1 file changed, 1 deletion(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature