mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
iommu/vt-d: Fix return value check of parse_ioapics_under_ir()
The function returns 0 on success, so check for the right value. Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
66ef950d18
commit
b61e5e80e3
@ -690,7 +690,7 @@ static int __init intel_prepare_irq_remapping(void)
|
||||
if (!dmar_ir_support())
|
||||
return -ENODEV;
|
||||
|
||||
if (!parse_ioapics_under_ir()) {
|
||||
if (parse_ioapics_under_ir()) {
|
||||
pr_info("Not enabling interrupt remapping\n");
|
||||
goto error;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user