Skip to content
Commit ebe6a354 authored by Bo Liu's avatar Bo Liu Committed by Michael S. Tsirkin
Browse files

vhost-vdpa: Call ida_simple_remove() when failed



In function vhost_vdpa_probe(), when code execution fails, we should
call ida_simple_remove() to free ida.

Signed-off-by: default avatarBo Liu <liubo03@inspur.com>
Message-Id: <20220805091254.20026-1-liubo03@inspur.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 79e0034c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment