[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1268596] Re: Compilation Error : hw/virtio/dataplane/v
From: |
DEnis |
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 12:42:29 -0000 |
Thanks a lot.
--
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |