qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH 0/5] vmdk: Implement x-blockdev-cre


From: Fam Zheng
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH 0/5] vmdk: Implement x-blockdev-create
Date: Wed, 9 May 2018 17:35:52 +0800
User-agent: Mutt/1.9.2 (2017-12-15)

On Tue, 05/08 23:08, address@hidden wrote:
> /var/tmp/patchew-tester-tmp-rg1lnbdu/src/block/vmdk.c: In function 
> ‘vmdk_co_do_create’:
> /var/tmp/patchew-tester-tmp-rg1lnbdu/src/block/vmdk.c:2153:8: error: ‘blk’ 
> may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (blk) {
>         ^
> cc1: all warnings being treated as errors

It's a genuine bug. blk should be initialized to NULL.

>   CC      block/dmg.o
> make: *** [/var/tmp/patchew-tester-tmp-rg1lnbdu/src/rules.mak:66: 
> block/vmdk.o] Error 1
> make: *** Waiting for unfinished jobs....
> === OUTPUT END ===
> 
> Test command exited with code: 2
> 
> 
> ---
> Email generated automatically by Patchew [http://patchew.org/].
> Please send your feedback to address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]