Re: [PATCH v2 1/1] iommu/amd: Fix sysfs leak in iommu init

From: Suthikulpanit, Suravee
Date: Mon May 13 2024 - 02:45:46 EST




On 5/9/2024 7:42 AM, Kun(llfl) wrote:
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@xxxxxxxxxxxxxxxxx>

Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>