From d2e5bd86723e14b5033640820ff08d04273688fe Mon Sep 17 00:00:00 2001 From: "yuri.benditovich@daynix.com" Date: Thu, 25 May 2017 16:06:39 +0300 Subject: [PATCH] qxl-wddm-dod: Debug printouts of memory mapping Print error case on proper level and fix typos. Signed-off-by: Yuri Benditovich Acked-by: Frediano Ziglio --- qxldod/QxlDod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index 6b0cc5e..6f2ca88 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -3437,7 +3437,7 @@ NTSTATUS QxlDevice::HWInit(PCM_RESOURCE_LIST pResList, DXGK_DISPLAY_INFORMATION* } else { - DbgPrint(TRACE_LEVEL_INFORMATION, ("DxgkCbMapMemor (CmResourceTypeMemory) failed with status 0x%X\n", Status)); + DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbMapMemory (CmResourceTypeMemory) failed with status 0x%X\n", Status)); } } @@ -3465,7 +3465,7 @@ NTSTATUS QxlDevice::HWInit(PCM_RESOURCE_LIST pResList, DXGK_DISPLAY_INFORMATION* m_RamHdr->magic != QXL_RAM_MAGIC) { UnmapMemory(); - DbgPrint(TRACE_LEVEL_ERROR, ("%s failed asslocateing HW resources\n", __FUNCTION__)); + DbgPrint(TRACE_LEVEL_ERROR, ("%s failed initializing HW resources\n", __FUNCTION__)); return STATUS_UNSUCCESSFUL; }