mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
[NTOSKRNL] Fix the indentation of some pnp manager functions.
This commit is contained in:
parent
351ae6b2b4
commit
2550325577
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue