Re: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc()

2011-12-16 Thread 'Joerg Roedel'
On Fri, Dec 16, 2011 at 09:38:25PM +0900, KyongHo Cho wrote: > Subject: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc() > > Since it is not guaranteed that an iommu driver initializes in its > domain_init() function, it must be initialized with NULL to prev

RE: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc()

2011-12-16 Thread KyongHo Cho
gt;From 821141fcf00a64fe4fbacc78b2bbe90e15da9fca Mon Sep 17 00:00:00 2001 From: KyongHo Cho Date: Tue, 13 Dec 2011 16:08:51 +0900 Subject: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc() Since it is not guaranteed that an iommu driver initializes in its domain_init() functio

Re: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc()

2011-12-15 Thread Joerg Roedel
On Tue, Dec 13, 2011 at 04:14:26PM +0900, KyongHo Cho wrote: > Since it is not guaranteed that an iommu driver initializes in its > domain_init() function, it must be initialized with NULL to prevent > calling a function in an arbitrary location when iommu fault occurred. > > Signed-off-by: KyongH

[PATCH] iommu: Initialize domain->handler in iommu_domain_alloc()

2011-12-14 Thread KyongHo Cho
Since it is not guaranteed that an iommu driver initializes in its domain_init() function, it must be initialized with NULL to prevent calling a function in an arbitrary location when iommu fault occurred. Signed-off-by: KyongHo Cho --- drivers/iommu/iommu.c |1 + 1 files changed, 1 insertio