win-pvdrivers

changeset 178:f4c428c040ea

fix warnings
author Andy Grover <andy.grover@oracle.com>
date Thu Feb 07 12:29:57 2008 -0800 (2008-02-07)
parents 8d778a60aa2c
children d65135fd2390
files xenhide/xenhide.c xenvbd/xenvbd.c
line diff
     1.1 --- a/xenhide/xenhide.c	Wed Feb 06 15:39:32 2008 +1100
     1.2 +++ b/xenhide/xenhide.c	Thu Feb 07 12:29:57 2008 -0800
     1.3 @@ -56,6 +56,8 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
     1.4    size_t SystemStartOptionsLen;
     1.5    size_t i;
     1.6  
     1.7 +  UNREFERENCED_PARAMETER(RegistryPath);
     1.8 +
     1.9    KdPrint((__DRIVER_NAME " --> DriverEntry\n"));
    1.10    KdPrint((__DRIVER_NAME "     IRQL = %d\n", KeGetCurrentIrql()));
    1.11  
     2.1 --- a/xenvbd/xenvbd.c	Wed Feb 06 15:39:32 2008 +1100
     2.2 +++ b/xenvbd/xenvbd.c	Thu Feb 07 12:29:57 2008 -0800
     2.3 @@ -139,7 +139,6 @@ XenVbd_HwScsiInterruptTarget(PVOID Devic
     2.4    PXENVBD_TARGET_DATA TargetData = (PXENVBD_TARGET_DATA)DeviceExtension;
     2.5    PSCSI_REQUEST_BLOCK Srb;
     2.6    RING_IDX i, rp;
     2.7 -  int j;
     2.8    blkif_response_t *rep;
     2.9    int BlockCount;
    2.10    PXENVBD_DEVICE_DATA DeviceData = (PXENVBD_DEVICE_DATA)TargetData->DeviceData;
    2.11 @@ -833,9 +832,8 @@ XenVbd_PutSrbOnRing(PXENVBD_TARGET_DATA 
    2.12    //PUCHAR DataBuffer;
    2.13    int i;
    2.14    int BlockCount;
    2.15 -  PXENVBD_DEVICE_DATA DeviceData = (PXENVBD_DEVICE_DATA)TargetData->DeviceData;
    2.16    blkif_shadow_t *shadow;
    2.17 -  int id;
    2.18 +  uint64_t id;
    2.19  
    2.20  // can use SRB_STATUS_BUSY to push the SRB back to windows...
    2.21