diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-29 17:36:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-29 17:36:15 -0800 |
commit | 89307babf966165171547f105e2253dec261cfa5 (patch) | |
tree | 74225500fcdf8ca4f11dcfa3e54738cdd33702f0 /drivers | |
parent | 50b2abed6b0812cbeda9f6dd48cc4c247be80643 (diff) | |
parent | 8bd6960c6ae65d7f92bfb708154ee813417d7b26 (diff) | |
download | linux-3.10-89307babf966165171547f105e2253dec261cfa5.tar.gz linux-3.10-89307babf966165171547f105e2253dec261cfa5.tar.bz2 linux-3.10-89307babf966165171547f105e2253dec261cfa5.zip |
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()
Diffstat (limited to 'drivers')
-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 2fb2963df55..5b5fa5cdaa3 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; |