[NTOSKRNL] Fix indentation. No code changes.

This commit is contained in:
Eric Kohl 2018-12-18 21:35:12 +01:00
parent 7e56b21ad6
commit b67dbdbea5

View file

@ -817,25 +817,25 @@ IoBuildAsynchronousFsdRequest(IN ULONG MajorFunction,
return NULL; return NULL;
} }
/* Probe and Lock */ /* Probe and Lock */
_SEH2_TRY _SEH2_TRY
{ {
/* Do the probe */ /* Do the probe */
MmProbeAndLockPages(Irp->MdlAddress, MmProbeAndLockPages(Irp->MdlAddress,
KernelMode, KernelMode,
MajorFunction == IRP_MJ_READ ? MajorFunction == IRP_MJ_READ ?
IoWriteAccess : IoReadAccess); IoWriteAccess : IoReadAccess);
} }
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{ {
/* Free the IRP and its MDL */ /* Free the IRP and its MDL */
IoFreeMdl(Irp->MdlAddress); IoFreeMdl(Irp->MdlAddress);
IoFreeIrp(Irp); IoFreeIrp(Irp);
/* Fail */ /* Fail */
_SEH2_YIELD(return NULL); _SEH2_YIELD(return NULL);
} }
_SEH2_END; _SEH2_END;
} }
else else
{ {
@ -1931,19 +1931,19 @@ IoMakeAssociatedIrp(IN PIRP Irp,
__FUNCTION__, __FUNCTION__,
Irp); Irp);
/* Allocate the IRP */ /* Allocate the IRP */
AssocIrp = IoAllocateIrp(StackSize, FALSE); AssocIrp = IoAllocateIrp(StackSize, FALSE);
if (!AssocIrp) return NULL; if (!AssocIrp) return NULL;
/* Set the Flags */ /* Set the Flags */
AssocIrp->Flags |= IRP_ASSOCIATED_IRP; AssocIrp->Flags |= IRP_ASSOCIATED_IRP;
/* Set the Thread */ /* Set the Thread */
AssocIrp->Tail.Overlay.Thread = Irp->Tail.Overlay.Thread; AssocIrp->Tail.Overlay.Thread = Irp->Tail.Overlay.Thread;
/* Associate them */ /* Associate them */
AssocIrp->AssociatedIrp.MasterIrp = Irp; AssocIrp->AssociatedIrp.MasterIrp = Irp;
return AssocIrp; return AssocIrp;
} }
/* /*