commit | a13c8f27e4d79420ae7bcb48123fa13851026428 | [log] [tgz] |
---|---|---|
author | Baoquan He <bhe@redhat.com> | Thu Oct 22 14:00:51 2015 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Fri Oct 23 11:53:49 2015 +0200 |
tree | 9ea172f7e52db3615cdcda8971cf418b0970fea5 | |
parent | 344cb4e0b6f3a0dbef0643eacb4946338eb228c0 [diff] |
iommu/vt-d: Adjust the return value of the parse_ioapics_under_ir Adjust the return value of parse_ioapics_under_ir as negative value representing failure and "0" representing succcess. Just make it consistent with other function implementations, and we can judge if calling is successfull by if (!parse_ioapics_under_ir()) style. Signed-off-by: Baoquan He <bhe@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>