diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-23 10:47:44 +0800 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-04-23 14:37:21 +0200 |
commit | 83ed9c13e37e352b5a16caca01798c2766d91c29 (patch) | |
tree | 7a83a76cb9ac17cbbc52ecc36de4ba0120a7645d /drivers/iommu/amd_iommu.c | |
parent | 3f398bc7762adcd860bd2acce18465a106f47325 (diff) |
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: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
0 files changed, 0 insertions, 0 deletions