[Spice-devel] [PATCH qxl-wddm-dod v2 17/25] Replacing tabs with spaces

Sameeh Jubran sameeh at daynix.com
Mon Sep 5 08:34:14 UTC 2016


Acked-by: Frediano Ziglio <fziglio at redhat.com>

Signed-off-by: Sameeh Jubran <sameeh at daynix.com>
Signed-off-by: Dmitry Fleytman <dmitry at daynix.com>
---
 qxldod/QxlDod.cpp | 94 +++++++++++++++++++++++++++----------------------------
 qxldod/QxlDod.h   |  2 +-
 qxldod/driver.cpp |  2 +-
 3 files changed, 49 insertions(+), 49 deletions(-)

diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 4dcfca3..f6f6884 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -1906,53 +1906,53 @@ NTSTATUS QxlDod::RegisterHWInfo(_In_ ULONG Id)
 
 NTSTATUS QxlDod::ReadConfiguration()
 {
-	PAGED_CODE();
-
-	NTSTATUS Status;
-	DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
-
-	HANDLE DevInstRegKeyHandle;
-	Status = IoOpenDeviceRegistryKey(m_pPhysicalDevice, PLUGPLAY_REGKEY_DRIVER, KEY_SET_VALUE, &DevInstRegKeyHandle);
-	if (!NT_SUCCESS(Status))
-	{
-		DbgPrint(TRACE_LEVEL_ERROR, ("IoOpenDeviceRegistryKey failed for PDO: 0x%I64x, Status: 0x%I64x", m_pPhysicalDevice, Status));
-		return Status;
-	}
-	UNICODE_STRING ValueName;
-	UCHAR Buffer[sizeof(KEY_VALUE_PARTIAL_INFORMATION)+sizeof(ULONG)];
-	PKEY_VALUE_PARTIAL_INFORMATION Value = (PKEY_VALUE_PARTIAL_INFORMATION)Buffer;
-	ULONG ValueLength = sizeof(Buffer);
-	ULONG ResultLength;
-	ULONG Length;
-
-	RtlInitUnicodeString(&ValueName, L"VgaCompatible");
-
-	Status = ZwQueryValueKey(DevInstRegKeyHandle,
-		&ValueName,
-		KeyValuePartialInformation,
-		Value,
-		ValueLength,
-		&ResultLength);
-
-	if (NT_SUCCESS(Status)) {
-		m_VgaCompatible = *(PULONG)(Value->Data);
-	}
-
-	RtlInitUnicodeString(&ValueName, L"PointerCaps");
-
-	Status = ZwQueryValueKey(DevInstRegKeyHandle,
-		&ValueName,
-		KeyValuePartialInformation,
-		Value,
-		ValueLength,
-		&ResultLength);
-
-	if (NT_SUCCESS(Status)) {
-		m_PointerCaps = *(PULONG)(Value->Data);
-	}
-
-	DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
-	return Status;
+    PAGED_CODE();
+
+    NTSTATUS Status;
+    DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
+
+    HANDLE DevInstRegKeyHandle;
+    Status = IoOpenDeviceRegistryKey(m_pPhysicalDevice, PLUGPLAY_REGKEY_DRIVER, KEY_SET_VALUE, &DevInstRegKeyHandle);
+    if (!NT_SUCCESS(Status))
+    {
+        DbgPrint(TRACE_LEVEL_ERROR, ("IoOpenDeviceRegistryKey failed for PDO: 0x%I64x, Status: 0x%I64x", m_pPhysicalDevice, Status));
+        return Status;
+    }
+    UNICODE_STRING ValueName;
+    UCHAR Buffer[sizeof(KEY_VALUE_PARTIAL_INFORMATION)+sizeof(ULONG)];
+    PKEY_VALUE_PARTIAL_INFORMATION Value = (PKEY_VALUE_PARTIAL_INFORMATION)Buffer;
+    ULONG ValueLength = sizeof(Buffer);
+    ULONG ResultLength;
+    ULONG Length;
+
+    RtlInitUnicodeString(&ValueName, L"VgaCompatible");
+
+    Status = ZwQueryValueKey(DevInstRegKeyHandle,
+        &ValueName,
+        KeyValuePartialInformation,
+        Value,
+        ValueLength,
+        &ResultLength);
+
+    if (NT_SUCCESS(Status)) {
+        m_VgaCompatible = *(PULONG)(Value->Data);
+    }
+
+    RtlInitUnicodeString(&ValueName, L"PointerCaps");
+
+    Status = ZwQueryValueKey(DevInstRegKeyHandle,
+        &ValueName,
+        KeyValuePartialInformation,
+        Value,
+        ValueLength,
+        &ResultLength);
+
+    if (NT_SUCCESS(Status)) {
+        m_PointerCaps = *(PULONG)(Value->Data);
+    }
+
+    DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
+    return Status;
 }
 
 //
diff --git a/qxldod/QxlDod.h b/qxldod/QxlDod.h
index 1ca9c45..c29f5ee 100755
--- a/qxldod/QxlDod.h
+++ b/qxldod/QxlDod.h
@@ -107,7 +107,7 @@ typedef struct
 
 #pragma pack(pop)
 
-typedef struct _X86BIOS_REGISTERS	// invented names
+typedef struct _X86BIOS_REGISTERS    // invented names
 {
     ULONG Eax;
     ULONG Ecx;
diff --git a/qxldod/driver.cpp b/qxldod/driver.cpp
index 10a24f4..eafeb1e 100755
--- a/qxldod/driver.cpp
+++ b/qxldod/driver.cpp
@@ -634,7 +634,7 @@ DodSystemDisplayWrite(
 #if defined(DBG)
 
 #define RHEL_DEBUG_PORT     ((PUCHAR)0x3F8)
-#define TEMP_BUFFER_SIZE	256
+#define TEMP_BUFFER_SIZE    256
 
 void DebugPrintFuncSerial(const char *format, ...)
 {
-- 
2.7.0.windows.1



More information about the Spice-devel mailing list