From 29135cfaaf40eec103d71f6ad273c0e1286b8dfe Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Wed, 21 Nov 2007 20:35:52 +0000 Subject: [PATCH] fix some PREfast warnings svn path=/trunk/; revision=30649 --- reactos/drivers/bus/isapnp/isapnp.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/reactos/drivers/bus/isapnp/isapnp.c b/reactos/drivers/bus/isapnp/isapnp.c index 05a8cb96c53..656e28d9335 100644 --- a/reactos/drivers/bus/isapnp/isapnp.c +++ b/reactos/drivers/bus/isapnp/isapnp.c @@ -1224,7 +1224,7 @@ static NTSTATUS BuildResourceList(PISAPNP_LOGICAL_DEVICE LogicalDevice, 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 @@ static NTSTATUS BuildResourceList(PISAPNP_LOGICAL_DEVICE LogicalDevice, 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 @@ ISAPNPStopDevice( } +static DRIVER_DISPATCH ISAPNPDispatchOpenClose; static NTSTATUS STDCALL ISAPNPDispatchOpenClose( @@ -1587,7 +1588,7 @@ ISAPNPDispatchOpenClose( return STATUS_SUCCESS; } - +static DRIVER_DISPATCH ISAPNPDispatchReadWrite; static NTSTATUS STDCALL ISAPNPDispatchReadWrite( @@ -1603,7 +1604,7 @@ ISAPNPDispatchReadWrite( return STATUS_UNSUCCESSFUL; } - +static DRIVER_DISPATCH ISAPNPDispatchDeviceControl; static NTSTATUS STDCALL ISAPNPDispatchDeviceControl( @@ -1635,7 +1636,7 @@ ISAPNPDispatchDeviceControl( return Status; } - +static DRIVER_DISPATCH ISAPNPControl; static NTSTATUS STDCALL ISAPNPControl(