iommu/vt-d: Adjust the return value of the parse_ioapics_under_ir
authorBaoquan He <bhe@redhat.com>
Thu, 22 Oct 2015 06:00:51 +0000 (14:00 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 23 Oct 2015 09:53:49 +0000 (11:53 +0200)
commita13c8f27e4d79420ae7bcb48123fa13851026428
tree9ea172f7e52db3615cdcda8971cf418b0970fea5
parent344cb4e0b6f3a0dbef0643eacb4946338eb228c0
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>
drivers/iommu/intel_irq_remapping.c