git: 5df48c0fa5cd - stable/13 - vmci: Avoid relying on macro expansion to provide correct syntax
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Nov 2021 19:41:30 UTC
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);
}