Skip to content
Snippets Groups Projects
Commit a295ec52 authored by Kun(llfl)'s avatar Kun(llfl) Committed by Joerg Roedel
Browse files

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: 39ab9555 ("iommu: Add sysfs bindings for struct iommu_device")
Signed-off-by: default avatarKun(llfl) <llfl@linux.alibaba.com>
Reviewed-by: default avatarSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/c8e0d11c6ab1ee48299c288009cf9c5dae07b42d.1715215003.git.llfl@linux.alibaba.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent c3f38fa6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment