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

'Joerg Roedel' joro at 8bytes.org
Fri Dec 16 09:15:07 EST 2011


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 prevent
> calling a function in an arbitrary location when iommu fault occurred.
> 
> Signed-off-by: KyongHo Cho <pullip.cho at samsung.com>

Applied to iommu/fixes, thanks a lot.




More information about the linux-arm-kernel mailing list