Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2022 21:21:17 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d487cba33d77 - main - vmm: Fix non-INVARIANTS build
Message-ID:  <202211182121.2AILLHIR082175@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=d487cba33d777efb9f6f7d7967ad2eaa629bcb90

commit d487cba33d777efb9f6f7d7967ad2eaa629bcb90
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-11-18 21:20:13 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-11-18 21:20:13 +0000

    vmm: Fix non-INVARIANTS build
    
    Reported by:    O. Hartmann <freebsd@walstatt-de.de>
    Reviewed by:    jhb
    Fixes:          58eefc67a1cf
    Differential Revision:  https://reviews.freebsd.org/D37444
---
 sys/amd64/vmm/intel/vmx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c
index 942caa6c58f8..b7b933eb9b18 100644
--- a/sys/amd64/vmm/intel/vmx.c
+++ b/sys/amd64/vmm/intel/vmx.c
@@ -1020,7 +1020,7 @@ vmx_setup_cr_shadow(int which, struct vmcs *vmcs, uint32_t initial)
 static void *
 vmx_init(struct vm *vm, pmap_t pmap)
 {
-	int error;
+	int error __diagused;
 	struct vmx *vmx;
 
 	vmx = malloc(sizeof(struct vmx), M_VMX, M_WAITOK | M_ZERO);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211182121.2AILLHIR082175>