Thread (37 messages) read the whole thread 37 messages, 3 authors, 2024-02-20

Re: [PATCH v4 20/27] iommu: Add ops->domain_alloc_sva()

From: Daniel Mentz <hidden>
Date: 2024-02-19 22:48:05
Also in: linux-iommu, linux-patches

On Fri, Jan 26, 2024 at 10:15 AM Jason Gunthorpe [off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
@@ -654,7 +654,7 @@ static int arm_smmu_sva_set_dev_pasid(struct iommu_domain *domain,

 static void arm_smmu_sva_domain_free(struct iommu_domain *domain)
 {
-       kfree(domain);
+       kfree(to_smmu_domain(domain));
 }
I'm wondering if this particular change belongs into the other change
with title "iommu/arm-smmu-v3: Make SVA allocate a normal
arm_smmu_domain"

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help