diff options
| author | Yang Yingliang <[email protected]> | 2023-08-16 08:13:18 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2023-08-18 15:56:24 +0000 |
| commit | eb501c2d96cfce6b42528e8321ea085ec605e790 (patch) | |
| tree | e2229a8d39574ac9078d957a9196b13da04471fc /tools/perf/scripts/python/libxed.py | |
| parent | iommu/vt-d: Implement hw_info for iommu capability query (diff) | |
| download | kernel-eb501c2d96cfce6b42528e8321ea085ec605e790.tar.gz kernel-eb501c2d96cfce6b42528e8321ea085ec605e790.zip | |
iommufd/selftest: Don't leak the platform device memory when unloading the module
It should call platform_device_unregister() instead of
platform_device_del() to unregister and free the device.
Fixes: 23a1b46f15d5 ("iommufd/selftest: Make the mock iommu driver into a real driver")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
