Commit 09be5f32 authored by KyongHo Cho's avatar KyongHo Cho Committed by Stepan Moskovchenko
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.

Change-Id: I1001bc6382cfe1e6cf8f311a822380f4151f8391
Signed-off-by: default avatarKyongHo Cho <pullip.cho@samsung.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
[stepanm@codeaurora.org: rebased to before the file moved]
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent 48c02c90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment