[NTOSKRNL] Fix the indentation of some pnp manager functions.

This commit is contained in:
Eric Kohl 2018-09-21 15:08:43 +02:00
parent 351ae6b2b4
commit 2550325577

View file

@ -463,8 +463,8 @@ IopInitializeDevice(PDEVICE_NODE DeviceNode,
DPRINT("Calling %wZ->AddDevice(%wZ)\n",
&DriverObject->DriverName,
&DeviceNode->InstancePath);
Status = DriverObject->DriverExtension->AddDevice(
DriverObject, DeviceNode->PhysicalDeviceObject);
Status = DriverObject->DriverExtension->AddDevice(DriverObject,
DeviceNode->PhysicalDeviceObject);
if (!NT_SUCCESS(Status))
{
DPRINT1("%wZ->AddDevice(%wZ) failed with status 0x%x\n",
@ -989,7 +989,8 @@ IopGetBusTypeGuidIndex(LPGUID BusTypeGuid)
/* Allocate the new copy */
NewList = ExAllocatePool(PagedPool, NewSize);
if (!NewList) {
if (!NewList)
{
/* Fail */
ExFreePool(PnpBusTypeGuidList);
goto Quickie;
@ -1941,8 +1942,7 @@ IopQueryCompatibleIds(PDEVICE_NODE DeviceNode,
RtlZeroMemory(&Stack, sizeof(Stack));
Stack.Parameters.QueryId.IdType = BusQueryCompatibleIDs;
Status = IopInitiatePnpIrp(
DeviceNode->PhysicalDeviceObject,
Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject,
&IoStatusBlock,
IRP_MN_QUERY_ID,
&Stack);