On 6/5/19 11:43 AM, Tiwei Bie wrote:
We should unmap the device when we failed to initialize the device.

Fixes: 6ba1f63b5ab0 ("virtio: support specification 1.0")
Cc: [email protected]

Signed-off-by: Tiwei Bie <[email protected]>
---
  drivers/net/virtio/virtio_ethdev.c | 12 +++++++++---
  drivers/net/virtio/virtio_pci.c    |  1 +
  2 files changed, 10 insertions(+), 3 deletions(-)


Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to