[Spice-devel] [PATCH qxl-wddm-dod] Pass 0 to level argument of KeInitializeMutex
Frediano Ziglio
fziglio at redhat.com
Mon Apr 10 13:31:32 UTC 2017
As documented by Microsoft this reserved argument should be set
to 0.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
qxldod/QxlDod.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index aa70f39..b06b410 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -3641,10 +3641,10 @@ BOOL QxlDevice::CreateEvents()
KeInitializeEvent(&m_PresentThreadReadyEvent,
SynchronizationEvent,
FALSE);
- KeInitializeMutex(&m_MemLock,1);
- KeInitializeMutex(&m_CmdLock,1);
- KeInitializeMutex(&m_IoLock,1);
- KeInitializeMutex(&m_CrsLock,1);
+ KeInitializeMutex(&m_MemLock, 0);
+ KeInitializeMutex(&m_CmdLock, 0);
+ KeInitializeMutex(&m_IoLock, 0);
+ KeInitializeMutex(&m_CrsLock, 0);
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
return TRUE;
--
2.9.3
More information about the Spice-devel
mailing list