[git pull] IOMMU fix for 3.2
From: Joerg Roedel
Date: Wed Dec 28 2011 - 05:34:28 EST
Hi Linus,
The following changes since commit 5f0a6e2d503896062f641639dacfe5055c2f593b:
Linux 3.2-rc7 (2011-12-23 21:51:06 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git iommu/fixes
KyongHo Cho (1):
iommu: Initialize domain->handler in iommu_domain_alloc()
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;
The patch fixes a missing initialization of a newly added member to the
iommu_domain structure (in a way that also works for future members).
The top-commit I am asking to pull on my machine is
8bd6960c6ae65d7f92bfb708154ee813417d7b26
Please pull.
Thanks,
Joerg
Attachment:
signature.asc
Description: Digital signature