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

Commit 89307bab authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
  iommu: Initialize domain->handler in iommu_domain_alloc()
parents 50b2abed 8bd6960c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ struct iommu_domain *iommu_domain_alloc(struct bus_type *bus)
	if (bus == NULL || bus->iommu_ops == NULL)
		return NULL;

	domain = kmalloc(sizeof(*domain), GFP_KERNEL);
	domain = kzalloc(sizeof(*domain), GFP_KERNEL);
	if (!domain)
		return NULL;