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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Signed-off-by: Sameeh Jubran <sameeh@xxxxxxxxxx>
Signed-off-by: Dmitry Fleytman <dmitry@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]