commit | 517abe495df7279f3a45ae01ed709e07d384309e | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Thu Jul 28 02:10:26 2016 +0000 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Aug 09 17:18:45 2016 +0200 |
tree | c72f18ac1d9126d8c146def90ed729165c814a1a | |
parent | a5604f260e68a45510ef773ce36ce301d1f6d102 [diff] |
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: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>