OpenCloudOS-Kernel/samples/vfio-mdev
Shang XiaoJing d1f0f50fbb 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: cacade1946 ("sample: vfio mdev display - guest driver")
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20221208013341.3999-1-shangxiaojing@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2022-12-12 14:10:12 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mbochs.c vfio/ap/ccw/samples: Fix device_register() unwind path 2022-12-05 12:37:54 -07:00
mdpy-defs.h PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h 2020-07-09 17:00:47 -05:00
mdpy-fb.c samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe() 2022-12-12 14:10:12 -07:00
mdpy.c vfio/ap/ccw/samples: Fix device_register() unwind path 2022-12-05 12:37:54 -07:00
mtty.c vfio/ap/ccw/samples: Fix device_register() unwind path 2022-12-05 12:37:54 -07:00