[Spice-devel] [PATCH qxl-wddm-dod] Pass 0 to level argument of KeInitializeMutex
Yuri Benditovich
yuri.benditovich at daynix.com
Tue Apr 11 15:25:43 UTC 2017
On Mon, Apr 10, 2017 at 4:31 PM, Frediano Ziglio <fziglio at redhat.com> wrote:
> As documented by Microsoft this reserved argument should be set
> to 0.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
>
Acked-by: Yuri Benditovich <yuri.benditovich at daynix.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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170411/3a587304/attachment.html>
More information about the Spice-devel
mailing list