Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

iommu/amd: Fix error return code in irq_remapping_alloc()



Fix to return a negative error code from the alloc_irq_index() error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: default avatarWei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent a5604f26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment