Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2021 19:41:30 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5df48c0fa5cd - stable/13 - vmci: Avoid relying on macro expansion to provide correct syntax
Message-ID:  <202111071941.1A7JfULT089606@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

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

commit 5df48c0fa5cd005853afa7017c12a7d3f32c16e5
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-11-03 15:19:53 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-11-07 19:39:38 +0000

    vmci: Avoid relying on macro expansion to provide correct syntax
    
    No functional change intended.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit c75c1d2df9b3839319f6b5e2fad0b757eebd9c55)
---
 sys/dev/vmware/vmci/vmci_kernel_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/vmware/vmci/vmci_kernel_if.c b/sys/dev/vmware/vmci/vmci_kernel_if.c
index de54a8d1ca4f..f66e63f56fc7 100644
--- a/sys/dev/vmware/vmci/vmci_kernel_if.c
+++ b/sys/dev/vmware/vmci/vmci_kernel_if.c
@@ -70,7 +70,7 @@ void
 vmci_cleanup_lock(vmci_lock *lock)
 {
 
-	if mtx_initialized(lock)
+	if (mtx_initialized(lock))
 		mtx_destroy(lock);
 }
 



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