We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd62071 commit d989bf5Copy full SHA for d989bf5
drivers/gpu/drm/i915/gvt/kvmgt.c
@@ -699,7 +699,7 @@ static void intel_vgpu_close_device(struct vfio_device *vfio_dev)
699
700
clear_bit(INTEL_VGPU_STATUS_ATTACHED, vgpu->status);
701
702
- debugfs_remove(debugfs_lookup(KVMGT_DEBUGFS_FILENAME, vgpu->debugfs));
+ debugfs_lookup_and_remove(KVMGT_DEBUGFS_FILENAME, vgpu->debugfs);
703
704
kvm_page_track_unregister_notifier(vgpu->vfio_device.kvm,
705
&vgpu->track_node);
0 commit comments