git: deea28af8dce - stable/15 - amd64/vmm: Fix ppt_unmap_mmio() after commit 36b855f18925
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 May 2026 15:15:49 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=deea28af8dced91b7aa50dadc28ec47ca3f1d478
commit deea28af8dced91b7aa50dadc28ec47ca3f1d478
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-22 22:18:05 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-25 15:15:39 +0000
amd64/vmm: Fix ppt_unmap_mmio() after commit 36b855f18925
Fixes: 36b855f18925 ("amd64/vmm: Lock global PCI passthrough structures")
MFC after: 3 days
Reported by: bz
(cherry picked from commit b133353310920aa823b1b5f83a308d0762f3bba3)
---
sys/amd64/vmm/io/ppt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/amd64/vmm/io/ppt.c b/sys/amd64/vmm/io/ppt.c
index b522e18e3b24..162f26796b33 100644
--- a/sys/amd64/vmm/io/ppt.c
+++ b/sys/amd64/vmm/io/ppt.c
@@ -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