|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH 05/46] virtio-crypto-pci: Tidy up virtio_crypto_pci_realize() |
Date: | Thu, 25 Jun 2020 22:12:14 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
24.06.2020 19:43, Markus Armbruster wrote:
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)"<arei.gonglei@huawei.com> Cc: Michael S. Tsirkin<mst@redhat.com> Signed-off-by: Markus Armbruster<armbru@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |