win-pvdrivers

changeset 120:ff4d2a86b063

fix remaining warnings, now at zero warnings!
author Andy Grover <andy.grover@oracle.com>
date Mon Jan 14 14:39:00 2008 -0800 (2008-01-14)
parents 4f25a9922d0b
children 99969d3c2c62
files xenpci/evtchn.c xenvbd/xenvbd.c
line diff
     1.1 --- a/xenpci/evtchn.c	Mon Jan 14 14:32:57 2008 -0800
     1.2 +++ b/xenpci/evtchn.c	Mon Jan 14 14:39:00 2008 -0800
     1.3 @@ -110,6 +110,7 @@ EvtChn_Bind(PVOID Context, evtchn_port_t
     1.4    return STATUS_SUCCESS;
     1.5  }
     1.6  
     1.7 +NTSTATUS
     1.8  EvtChn_BindDpc(PVOID Context, evtchn_port_t Port, PKSERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext)
     1.9  {
    1.10    WDFDEVICE Device = Context;
     2.1 --- a/xenvbd/xenvbd.c	Mon Jan 14 14:32:57 2008 -0800
     2.2 +++ b/xenvbd/xenvbd.c	Mon Jan 14 14:39:00 2008 -0800
     2.3 @@ -111,7 +111,7 @@ ADD_ID_TO_FREELIST(PXENVBD_TARGET_DATA T
     2.4  //static HANDLE XenVbd_ScsiPortThreadHandle;
     2.5  //static KEVENT XenVbd_ScsiPortThreadEvent;
     2.6  
     2.7 -static VOID
     2.8 +static BOOLEAN
     2.9  XenVbd_Interrupt(PKINTERRUPT Interrupt, PVOID DeviceExtension)
    2.10  {
    2.11    PXENVBD_TARGET_DATA TargetData = (PXENVBD_TARGET_DATA)DeviceExtension;
    2.12 @@ -123,6 +123,8 @@ XenVbd_Interrupt(PKINTERRUPT Interrupt, 
    2.13    TargetData->PendingInterrupt = TRUE;
    2.14  
    2.15  //  KdPrint((__DRIVER_NAME " <-- Interrupt\n"));
    2.16 +
    2.17 +  return TRUE;
    2.18  }
    2.19  
    2.20  static VOID