Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b26b425c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: iommu: Check for NULL genpools during domain teardown"

parents 5ba13323 f5cd7c13
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -553,6 +553,7 @@ int msm_unregister_domain(struct iommu_domain *domain)
	ida_simple_remove(&domain_nums, data->domain_num);

	for (i = 0; i < data->npools; ++i)
		if (data->pools[i].gpool)
			gen_pool_destroy(data->pools[i].gpool);

	kfree(data->pools);