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:
Mark Johnston
2026-05-22 22:18:05 +00:00
parent c783d7181d
commit b133353310
+1 -1
View File
@@ -577,7 +577,7 @@ ppt_unmap_mmio(struct vm *vm, int bus, int slot, int func,
}
out:
PPT_UNLOCK();
return (ENOENT);
return (error);
}
static int