summaryrefslogtreecommitdiffstats
path: root/include/standard-headers/linux/virtio_net.h
diff options
context:
space:
mode:
authorYi Min Zhao2016-08-10 10:10:08 +0200
committerCornelia Huck2016-09-05 15:15:16 +0200
commit0d36d791927753599e9ca36e344f9fb272126e3d (patch)
treedb1a36f7faa0c4d3166a2a366671d6d0cf542c70 /include/standard-headers/linux/virtio_net.h
parents390x: add compat machine for 2.8 (diff)
downloadqemu-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