diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-05-22 22:18:05 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-05-22 22:18:48 +0000 |
| commit | b133353310920aa823b1b5f83a308d0762f3bba3 (patch) | |
| tree | d1bd4c6c7f3afad4cdd60a437dc1e34bb54585b4 | |
| parent | c783d7181d6a71cb2453f06e40c08c892510c2f2 (diff) | |
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
| -rw-r--r-- | sys/amd64/vmm/io/ppt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
