mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:46:13 +00:00
[NTOSKRNL] Fix the indentation of some pnp manager functions.
This commit is contained in:
parent
351ae6b2b4
commit
2550325577
1 changed files with 577 additions and 577 deletions
|
@ -463,8 +463,8 @@ IopInitializeDevice(PDEVICE_NODE DeviceNode,
|
||||||
DPRINT("Calling %wZ->AddDevice(%wZ)\n",
|
DPRINT("Calling %wZ->AddDevice(%wZ)\n",
|
||||||
&DriverObject->DriverName,
|
&DriverObject->DriverName,
|
||||||
&DeviceNode->InstancePath);
|
&DeviceNode->InstancePath);
|
||||||
Status = DriverObject->DriverExtension->AddDevice(
|
Status = DriverObject->DriverExtension->AddDevice(DriverObject,
|
||||||
DriverObject, DeviceNode->PhysicalDeviceObject);
|
DeviceNode->PhysicalDeviceObject);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("%wZ->AddDevice(%wZ) failed with status 0x%x\n",
|
DPRINT1("%wZ->AddDevice(%wZ) failed with status 0x%x\n",
|
||||||
|
@ -989,7 +989,8 @@ IopGetBusTypeGuidIndex(LPGUID BusTypeGuid)
|
||||||
/* Allocate the new copy */
|
/* Allocate the new copy */
|
||||||
NewList = ExAllocatePool(PagedPool, NewSize);
|
NewList = ExAllocatePool(PagedPool, NewSize);
|
||||||
|
|
||||||
if (!NewList) {
|
if (!NewList)
|
||||||
|
{
|
||||||
/* Fail */
|
/* Fail */
|
||||||
ExFreePool(PnpBusTypeGuidList);
|
ExFreePool(PnpBusTypeGuidList);
|
||||||
goto Quickie;
|
goto Quickie;
|
||||||
|
@ -1941,8 +1942,7 @@ IopQueryCompatibleIds(PDEVICE_NODE DeviceNode,
|
||||||
|
|
||||||
RtlZeroMemory(&Stack, sizeof(Stack));
|
RtlZeroMemory(&Stack, sizeof(Stack));
|
||||||
Stack.Parameters.QueryId.IdType = BusQueryCompatibleIDs;
|
Stack.Parameters.QueryId.IdType = BusQueryCompatibleIDs;
|
||||||
Status = IopInitiatePnpIrp(
|
Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject,
|
||||||
DeviceNode->PhysicalDeviceObject,
|
|
||||||
&IoStatusBlock,
|
&IoStatusBlock,
|
||||||
IRP_MN_QUERY_ID,
|
IRP_MN_QUERY_ID,
|
||||||
&Stack);
|
&Stack);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue