Skip to content
Commit 8bd6960c authored by KyongHo Cho's avatar KyongHo Cho Committed by Joerg Roedel
Browse files

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: default avatarKyongHo Cho <pullip.cho@samsung.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent b2c16391
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment