[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: |
Mon, 13 Jan 2014 14:08:38 -0000 |
** Description changed:
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
+ 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.
--
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
- [Qemu-devel] [PULL 00/11] Trivial patches for 2014-01-16, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 02/11] Fix typo of tiemr in timer.h, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 07/11] linux-user: fixed s390x clone() argument order, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 03/11] Add bios-256k.bin to BLOBS on Makefile, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 10/11] pc-bios: Remove execute flag from BIOS files, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 04/11] exec: Exclude non portable function for MinGW, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 08/11] linux-user: fixed getsockopt() optlen, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 11/11] vl: Add a blank space between the variable and '=', Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 09/11] linux-user: fixed recvfrom() addrlen, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 01/11] docs: Fix typo in QMP WAKEUP example, Michael Tokarev, 2014/01/16
- [Qemu-devel] [PULL 05/11] virtio-balloon: don't hardcode config size value, Michael Tokarev, 2014/01/16