diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 2fb2963df55376a3a8efbf09490457e08b28b836..5b5fa5cdaa3108da74b7358ae187dd4ee8a00181 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;