amd64/vmm: Fix ppt_unmap_mmio() after commit 36b855f189
Fixes: 36b855f189 ("amd64/vmm: Lock global PCI passthrough structures")
MFC after: 3 days
Reported by: bz
This commit is contained in:
@@ -577,7 +577,7 @@ ppt_unmap_mmio(struct vm *vm, int bus, int slot, int func,
|
|||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
PPT_UNLOCK();
|
PPT_UNLOCK();
|
||||||
return (ENOENT);
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|||||||
Reference in New Issue
Block a user