White space cleanup, correct indentation
Modified: trunk/reactos/drivers/dd/serial/close.c
Modified: trunk/reactos/drivers/dd/serial/info.c
Modified: trunk/reactos/drivers/dd/serial/misc.c
Modified: trunk/reactos/drivers/dd/serial/rw.c
_____
Modified: trunk/reactos/drivers/dd/serial/close.c
--- trunk/reactos/drivers/dd/serial/close.c 2005-05-12 21:41:21 UTC
(rev 15250)
+++ trunk/reactos/drivers/dd/serial/close.c 2005-05-12 21:45:20 UTC
(rev 15251)
@@ -24,6 +24,6 @@
Irp->IoStatus.Information = 0;
Irp->IoStatus.Status = STATUS_SUCCESS;
- IoCompleteRequest(Irp, IO_NO_INCREMENT);
+ IoCompleteRequest(Irp, IO_NO_INCREMENT);
return STATUS_SUCCESS;
}
_____
Modified: trunk/reactos/drivers/dd/serial/info.c
--- trunk/reactos/drivers/dd/serial/info.c 2005-05-12 21:41:21 UTC
(rev 15250)
+++ trunk/reactos/drivers/dd/serial/info.c 2005-05-12 21:45:20 UTC
(rev 15251)
@@ -8,7 +8,7 @@
* PROGRAMMERS: HervÚ Poussineau (poussine(a)freesurf.fr)
*/
-#define NDEBUG2
+#define NDEBUG
#include "serial.h"
NTSTATUS STDCALL
@@ -44,8 +44,8 @@
StandardInfo->EndOfFile.QuadPart = 0;
StandardInfo->Directory = FALSE;
StandardInfo->NumberOfLinks = 0;
- StandardInfo->DeletePending = FALSE; /*
FIXME: should be TRUE sometimes */
- Status = STATUS_SUCCESS;
+ StandardInfo->DeletePending = FALSE; /*
FIXME: should be TRUE sometimes */
+ Status = STATUS_SUCCESS;
}
break;
}
@@ -63,7 +63,7 @@
else
{
PositionInfo->CurrentByteOffset.QuadPart
= 0;
- Status = STATUS_SUCCESS;
+ Status = STATUS_SUCCESS;
}
break;
}
_____
Modified: trunk/reactos/drivers/dd/serial/misc.c
--- trunk/reactos/drivers/dd/serial/misc.c 2005-05-12 21:41:21 UTC
(rev 15250)
+++ trunk/reactos/drivers/dd/serial/misc.c 2005-05-12 21:45:20 UTC
(rev 15251)
@@ -20,7 +20,7 @@
{
if (Irp->PendingReturned)
KeSetEvent((PKEVENT)Context, IO_NO_INCREMENT, FALSE);
- return STATUS_MORE_PROCESSING_REQUIRED;
+ return STATUS_MORE_PROCESSING_REQUIRED;
}
NTSTATUS
_____
Modified: trunk/reactos/drivers/dd/serial/rw.c
--- trunk/reactos/drivers/dd/serial/rw.c 2005-05-12 21:41:21 UTC
(rev 15250)
+++ trunk/reactos/drivers/dd/serial/rw.c 2005-05-12 21:45:20 UTC
(rev 15251)
@@ -221,8 +221,8 @@
WorkItem = IoAllocateWorkItem(DeviceObject);
if (WorkItem)
{
- WorkItemData->IoWorkItem = WorkItem;
- IoQueueWorkItem(WorkItem, SerialReadWorkItem,
DelayedWorkQueue, WorkItemData);
+ WorkItemData->IoWorkItem = WorkItem;
+ IoQueueWorkItem(WorkItem, SerialReadWorkItem,
DelayedWorkQueue, WorkItemData);
IoMarkIrpPending(Irp);
return STATUS_PENDING;
}
Show replies by date