diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-30 01:36:15 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-30 01:36:15 (GMT) |
commit | 89307babf966165171547f105e2253dec261cfa5 (patch) | |
tree | 74225500fcdf8ca4f11dcfa3e54738cdd33702f0 | |
parent | 50b2abed6b0812cbeda9f6dd48cc4c247be80643 (diff) | |
parent | 8bd6960c6ae65d7f92bfb708154ee813417d7b26 (diff) | |
download | linux-89307babf966165171547f105e2253dec261cfa5.tar.xz |
Merge branch 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
* 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
iommu: Initialize domain->handler in iommu_domain_alloc()
-rw-r--r-- | drivers/iommu/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 2fb2963..5b5fa5c 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c @@ -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; |