Skip to content
Commit d1f0f50f authored by Shang XiaoJing's avatar Shang XiaoJing Committed by Alex Williamson
Browse files

samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()



Add missing pci_disable_device() in fail path of mdpy_fb_probe().
Besides, fix missing release functions in mdpy_fb_remove().

Fixes: cacade19 ("sample: vfio mdev display - guest driver")
Signed-off-by: default avatarShang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20221208013341.3999-1-shangxiaojing@huawei.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent f2240b44
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