diff options
author | 2024-05-09 08:42:20 +0800 | |
---|---|---|
committer | 2024-06-04 13:50:15 +0200 | |
commit | a295ec52c8624883885396fde7b4df1a179627c3 (patch) | |
tree | 2224ad0720930820f7c6d3eac6e31559b4572a1f /scripts/generate_rust_analyzer.py | |
parent | Linux 6.10-rc2 (diff) | |
download | linux-rng-a295ec52c8624883885396fde7b4df1a179627c3.tar.xz linux-rng-a295ec52c8624883885396fde7b4df1a179627c3.zip |
iommu/amd: Fix sysfs leak in iommu init
During the iommu initialization, iommu_init_pci() adds sysfs nodes.
However, these nodes aren't remove in free_iommu_resources() subsequently.
Fixes: 39ab9555c241 ("iommu: Add sysfs bindings for struct iommu_device")
Signed-off-by: Kun(llfl) <llfl@linux.alibaba.com>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/c8e0d11c6ab1ee48299c288009cf9c5dae07b42d.1715215003.git.llfl@linux.alibaba.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions