]> Git Repo - qemu.git/commit
virtio-crypto-pci: Tidy up virtio_crypto_pci_realize()
authorMarkus Armbruster <[email protected]>
Tue, 7 Jul 2020 16:05:34 +0000 (18:05 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 10 Jul 2020 13:01:06 +0000 (15:01 +0200)
commit79c3e2bc6e78eb9cb197a9b3a9fc885ec1b7c720
treeb229e82c0f8f4459d088e10284a13c728f8f5372
parent0a15a73236cb068cfd28f8c6846f66ab007f81bb
virtio-crypto-pci: Tidy up virtio_crypto_pci_realize()

virtio_crypto_pci_realize() continues after realization of its
"virtio-crypto-device" fails.  Only an object_property_set_link()
follows; looks harmless to me.  Tidy up anyway: return after failure,
just like virtio_rng_pci_realize() does.

Cc: "Gonglei (Arei)" <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Gonglei < [email protected]>
Message-Id: <20200707160613[email protected]>
hw/virtio/virtio-crypto-pci.c
This page took 0.025901 seconds and 4 git commands to generate.