qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [Qemu-devel] [PATCH v7 00/20] add byte-based block_stat


From: Fam Zheng
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH v7 00/20] add byte-based block_status driver callbacks
Date: Mon, 8 Jan 2018 10:56:48 +0800
User-agent: Mutt/1.9.1 (2017-09-22)

On Sat, 01/06 22:03, address@hidden wrote:
> /var/tmp/patchew-tester-tmp-zu_flv2_/src/block/iscsi.c: In function 
> ‘iscsi_co_block_status’:
> /var/tmp/patchew-tester-tmp-zu_flv2_/src/block/iscsi.c:755:14: error: 
> ‘iTask.task’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>      if (iTask.task != NULL) {
>          ~~~~~^~~~~
> cc1: all warnings being treated as errors
> make: *** [/var/tmp/patchew-tester-tmp-zu_flv2_/src/rules.mak:66: 
> block/iscsi.o] Error 1
> make: *** Waiting for unfinished jobs....
> === OUTPUT END ===
> 
> Test command exited with code: 2

Seems introduced by e38bc23454ef763deb4405ebdee6a1081aa00bc8. I think the easy
fix is to initialize iTask.task to NULL.

Fam



reply via email to

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