From: Stefan Hajnoczi <1268596@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1268596] Re: Compilation Error: hw/virtio/dataplane/vring.c:400:5: error: ‘ret’ may be used uninitialised in this function
Date: Tue, 14 Jan 2014 05:25:10 -0000 [thread overview]
Message-ID: <20140114052510.25911.67975.malone@gac.canonical.com> (raw)
In-Reply-To: 20140113133525.26208.82917.malonedeb@wampee.canonical.com
A fix has been posted to the mailing list and will soon be merged into
qemu.git:
http://thread.gmane.org/gmane.comp.emulators.qemu/250657
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1268596
Title:
Compilation Error: hw/virtio/dataplane/vring.c:400:5: error: ‘ret’ may
be used uninitialised in this function
Status in QEMU:
New
Bug description:
Qemu git-cloned from mo. 13.01.14 (ca. 13:00 GMT), Version 1.7.50
#git clone git://git.qemu-project.org/qemu.git
# cd qemu; git submodule update --init dtc
#./configure --disable-xen --enable-kvm
...No Errors...
#CC="ccache gcc" make -j8
....
GEN qemu.1
Signing optionrom/kvmvapic.bin
GEN qemu-img.1
CC qapi-types.o
hw/virtio/dataplane/vring.c: In function ‘vring_pop’:
hw/virtio/dataplane/vring.c:400:5: error: ‘ret’ may be used uninitialised in this function [-Werror=uninitialized]
cc1: all warnings being treated as errors
make: *** [hw/virtio/dataplane/vring.o] Error 1
make: *** Waiting for unfinished jobs....
File hw/virtio/dataplane/vring.c:
===========================================
out:
assert(ret < 0); ----> Line: 400
if (ret == -EFAULT) {
vring->broken = true;
}
if (elem) {
vring_free_element(elem);
}
*p_elem = NULL;
return ret;
}
===========================================
Thx.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1268596/+subscriptions
next prev parent reply other threads:[~2014-01-14 5:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 13:35 [Qemu-devel] [Bug 1268596] [NEW] Compilation Error: hw/virtio/dataplane/vring.c:400:5: error: ‘ret’ may be used uninitialised in this function DEnis
2014-01-13 14:08 ` [Qemu-devel] [Bug 1268596] " DEnis
2014-01-13 14:40 ` Paolo Bonzini
2014-01-13 14:53 ` Peter Maydell
2014-01-14 5:25 ` Stefan Hajnoczi [this message]
2014-01-14 12:42 ` DEnis
2016-06-17 8:31 ` T. Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140114052510.25911.67975.malone@gac.canonical.com \
--to=1268596@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.