qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 00/20] add byte-based block_status driver cal


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

On Mon, 01/08 10:56, Fam Zheng wrote:
> 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.

I've posted a fix for this:

https://lists.gnu.org/archive/html/qemu-devel/2018-01/msg01132.html

Fam



reply via email to

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