We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053bab4 commit 2455d6aCopy full SHA for 2455d6a
drivers/iommu/amd/iommu.c
@@ -2004,12 +2004,12 @@ static void protection_domain_free(struct protection_domain *domain)
2004
if (!domain)
2005
return;
2006
2007
- if (domain->id)
2008
- domain_id_free(domain->id);
2009
-
2010
if (domain->iop.pgtbl_cfg.tlb)
2011
free_io_pgtable_ops(&domain->iop.iop.ops);
2012
+ if (domain->id)
+ domain_id_free(domain->id);
+
2013
kfree(domain);
2014
}
2015
0 commit comments