[PATCH] iommu/vt-d: Propagate error-value from ir_parse_ioapic_hpet_scope()

From: Joerg Roedel
Date: Fri Oct 23 2015 - 06:04:14 EST


On Thu, Oct 22, 2015 at 02:00:51PM +0800, Baoquan He wrote:
> 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 implementation, and we can judge if calling is successfull by
> if (!parse_ioapics_under_ir()) style.
>
> Signed-off-by: Baoquan He <bhe@xxxxxxxxxx>

Applied thanks. I also put below patch on-top to also propate the error
value returned from ir_parse_ioapic_hpet_scope().