https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8faf38ed224ea81154ffc…
commit 8faf38ed224ea81154ffc129fcce69137a9e1a84
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Dec 29 14:36:32 2019 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Dec 29 14:37:13 2019 +0100
[NTOS:IO] Fix indentation. No code changes!
---
ntoskrnl/io/pnpmgr/pnpreport.c | 90 +++++++++++++++++++++---------------------
1 file changed, 45 insertions(+), 45 deletions(-)
diff --git a/ntoskrnl/io/pnpmgr/pnpreport.c b/ntoskrnl/io/pnpmgr/pnpreport.c
index 1ef595b682a..a9a9b3fab68 100644
--- a/ntoskrnl/io/pnpmgr/pnpreport.c
+++ b/ntoskrnl/io/pnpmgr/pnpreport.c
@@ -17,11 +17,11 @@
typedef struct _INTERNAL_WORK_QUEUE_ITEM
{
- WORK_QUEUE_ITEM WorkItem;
- PDEVICE_OBJECT PhysicalDeviceObject;
- PDEVICE_CHANGE_COMPLETE_CALLBACK Callback;
- PVOID Context;
- PTARGET_DEVICE_CUSTOM_NOTIFICATION NotificationStructure;
+ WORK_QUEUE_ITEM WorkItem;
+ PDEVICE_OBJECT PhysicalDeviceObject;
+ PDEVICE_CHANGE_COMPLETE_CALLBACK Callback;
+ PVOID Context;
+ PTARGET_DEVICE_CUSTOM_NOTIFICATION NotificationStructure;
} INTERNAL_WORK_QUEUE_ITEM, *PINTERNAL_WORK_QUEUE_ITEM;
NTSTATUS
@@ -53,57 +53,57 @@ IopGetInterfaceTypeString(INTERFACE_TYPE IfType)
{
switch (IfType)
{
- case Internal:
- return L"Internal";
+ case Internal:
+ return L"Internal";
- case Isa:
- return L"Isa";
+ case Isa:
+ return L"Isa";
- case Eisa:
- return L"Eisa";
+ case Eisa:
+ return L"Eisa";
- case MicroChannel:
- return L"MicroChannel";
+ case MicroChannel:
+ return L"MicroChannel";
- case TurboChannel:
- return L"TurboChannel";
+ case TurboChannel:
+ return L"TurboChannel";
- case PCIBus:
- return L"PCIBus";
+ case PCIBus:
+ return L"PCIBus";
- case VMEBus:
- return L"VMEBus";
+ case VMEBus:
+ return L"VMEBus";
- case NuBus:
- return L"NuBus";
+ case NuBus:
+ return L"NuBus";
- case PCMCIABus:
- return L"PCMCIABus";
+ case PCMCIABus:
+ return L"PCMCIABus";
- case CBus:
- return L"CBus";
+ case CBus:
+ return L"CBus";
- case MPIBus:
- return L"MPIBus";
+ case MPIBus:
+ return L"MPIBus";
- case MPSABus:
- return L"MPSABus";
+ case MPSABus:
+ return L"MPSABus";
- case ProcessorInternal:
- return L"ProcessorInternal";
+ case ProcessorInternal:
+ return L"ProcessorInternal";
- case PNPISABus:
- return L"PNPISABus";
+ case PNPISABus:
+ return L"PNPISABus";
- case PNPBus:
- return L"PNPBus";
+ case PNPBus:
+ return L"PNPBus";
- case Vmcs:
- return L"Vmcs";
+ case Vmcs:
+ return L"Vmcs";
- default:
- DPRINT1("Invalid bus type: %d\n", IfType);
- return NULL;
+ default:
+ DPRINT1("Invalid bus type: %d\n", IfType);
+ return NULL;
}
}
@@ -111,12 +111,12 @@ VOID
NTAPI
IopReportTargetDeviceChangeAsyncWorker(PVOID Context)
{
- PINTERNAL_WORK_QUEUE_ITEM Item;
+ PINTERNAL_WORK_QUEUE_ITEM Item;
- Item = (PINTERNAL_WORK_QUEUE_ITEM)Context;
- PpSetCustomTargetEvent(Item->PhysicalDeviceObject, NULL, NULL, Item->Callback,
Item->Context, Item->NotificationStructure);
- ObDereferenceObject(Item->PhysicalDeviceObject);
- ExFreePoolWithTag(Context, ' pP');
+ Item = (PINTERNAL_WORK_QUEUE_ITEM)Context;
+ PpSetCustomTargetEvent(Item->PhysicalDeviceObject, NULL, NULL, Item->Callback,
Item->Context, Item->NotificationStructure);
+ ObDereferenceObject(Item->PhysicalDeviceObject);
+ ExFreePoolWithTag(Context, ' pP');
}
NTSTATUS