Date: Wed, 3 Nov 2021 15:22:46 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c75c1d2df9b3 - main - vmci: Avoid relying on macro expansion to provide correct syntax Message-ID: <202111031522.1A3FMkce028258@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c75c1d2df9b3839319f6b5e2fad0b757eebd9c55 commit c75c1d2df9b3839319f6b5e2fad0b757eebd9c55 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2021-11-03 15:19:53 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-11-03 15:22:40 +0000 vmci: Avoid relying on macro expansion to provide correct syntax No functional change intended. MFC after: 3 days Sponsored by: The FreeBSD Foundation --- 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?202111031522.1A3FMkce028258>