Author: cwittich
Date: Wed Nov 21 23:35:52 2007
New Revision: 30649
URL:
http://svn.reactos.org/svn/reactos?rev=30649&view=rev
Log:
fix some PREfast warnings
Modified:
trunk/reactos/drivers/bus/isapnp/isapnp.c
Modified: trunk/reactos/drivers/bus/isapnp/isapnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/isapnp/isapnp.…
==============================================================================
--- trunk/reactos/drivers/bus/isapnp/isapnp.c (original)
+++ trunk/reactos/drivers/bus/isapnp/isapnp.c Wed Nov 21 23:35:52 2007
@@ -1224,7 +1224,7 @@
if (List->Priority == Priority) {
- DPRINT("Logical device %d DestinationList 0x%X\n",
+ DPRINT("Logical device %d DestinationList %p\n",
LogicalDevice->Number,
DestinationList);
@@ -1238,7 +1238,7 @@
Descriptor = CONTAINING_RECORD(
Entry, ISAPNP_DESCRIPTOR, ListEntry);
- DPRINT("Logical device %d Destination 0x%X(%d)\n",
+ DPRINT("Logical device %d Destination %p(%d)\n",
LogicalDevice->Number,
&DestinationList->Descriptors[i],
i);
@@ -1572,6 +1572,7 @@
}
+static DRIVER_DISPATCH ISAPNPDispatchOpenClose;
static NTSTATUS
STDCALL
ISAPNPDispatchOpenClose(
@@ -1587,7 +1588,7 @@
return STATUS_SUCCESS;
}
-
+static DRIVER_DISPATCH ISAPNPDispatchReadWrite;
static NTSTATUS
STDCALL
ISAPNPDispatchReadWrite(
@@ -1603,7 +1604,7 @@
return STATUS_UNSUCCESSFUL;
}
-
+static DRIVER_DISPATCH ISAPNPDispatchDeviceControl;
static NTSTATUS
STDCALL
ISAPNPDispatchDeviceControl(
@@ -1635,7 +1636,7 @@
return Status;
}
-
+static DRIVER_DISPATCH ISAPNPControl;
static NTSTATUS
STDCALL
ISAPNPControl(