diff options
author | Yi Min Zhao | 2016-08-10 10:10:08 +0200 |
---|---|---|
committer | Cornelia Huck | 2016-09-05 15:15:16 +0200 |
commit | 0d36d791927753599e9ca36e344f9fb272126e3d (patch) | |
tree | db1a36f7faa0c4d3166a2a366671d6d0cf542c70 /include/standard-headers/linux/virtio_net.h | |
parent | s390x: add compat machine for 2.8 (diff) | |
download | qemu-0d36d791927753599e9ca36e344f9fb272126e3d.tar.gz qemu-0d36d791927753599e9ca36e344f9fb272126e3d.tar.xz qemu-0d36d791927753599e9ca36e344f9fb272126e3d.zip |
s390x/pci: return directly if create zpci failed
In the case that zpci is automatically created, we did not return
immediately on failure, which would lead to NULL pointer dereferencing.
Let's fix it.
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_net.h')
0 files changed, 0 insertions, 0 deletions