win-pvdrivers

changeset 39:48261a2e2038

xenvbd: clean up warnings
author Andy Grover <andy.grover@oracle.com>
date Wed Dec 05 11:43:55 2007 -0800 (2007-12-05)
parents a5617e7e9f54
children 2b0eaa721206
files xenvbd/xenvbd.c
line diff
     1.1 --- a/xenvbd/xenvbd.c	Wed Dec 05 11:37:53 2007 -0800
     1.2 +++ b/xenvbd/xenvbd.c	Wed Dec 05 11:43:55 2007 -0800
     1.3 @@ -904,7 +904,6 @@ XenVbd_ChildListCreateDevice(WDFCHILDLIS
     1.4    WDF_OBJECT_ATTRIBUTES PdoAttributes;
     1.5    DECLARE_CONST_UNICODE_STRING(DeviceLocation, L"Xen Bus");
     1.6    PXENVBD_CHILD_DEVICE_DATA ChildDeviceData;
     1.7 -  WDF_IO_QUEUE_CONFIG IoQueueConfig;
     1.8    unsigned int i;
     1.9    WDF_DPC_CONFIG DpcConfig;
    1.10    WDF_OBJECT_ATTRIBUTES DpcObjectAttributes;
    1.11 @@ -1193,7 +1192,7 @@ XenVBD_FillModePage(PXENVBD_CHILD_DEVICE
    1.12  static NTSTATUS
    1.13  XenVbd_Child_PreprocessWdmIrpDEVICE_CONTROL(WDFDEVICE Device, PIRP Irp)
    1.14  {
    1.15 -  NTSTATUS Status;
    1.16 +  NTSTATUS Status = STATUS_NOT_IMPLEMENTED;
    1.17    PIO_STACK_LOCATION IrpStack;
    1.18    PSCSI_ADDRESS ScsiAddress;
    1.19    PXENVBD_CHILD_DEVICE_DATA ChildDeviceData;  
    1.20 @@ -1445,7 +1444,7 @@ XenVbd_Child_PreprocessWdmIrpSomethingSo
    1.21  static NTSTATUS
    1.22  XenVbd_Child_PreprocessWdmIrpSCSI(WDFDEVICE Device, PIRP Irp)
    1.23  {
    1.24 -  char *DataBuffer;
    1.25 +  PUCHAR DataBuffer;
    1.26    NTSTATUS status = STATUS_SUCCESS;
    1.27    PSCSI_REQUEST_BLOCK Srb;
    1.28    PIO_STACK_LOCATION irpSp = IoGetCurrentIrpStackLocation(Irp);