Skip to content
Commit 83ed9c13 authored by Wei Yongjun's avatar Wei Yongjun Committed by Joerg Roedel
Browse files

iommu/amd: fix error return code in early_amd_iommu_init()



Fix to return -ENOMEM int the memory alloc error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarJoerg Roedel <joro@8bytes.org>
parent 3f398bc7
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