Staging: hv: remove SIZE_T typedef
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Jul 2009 22:14:20 +0000 (15:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:46 +0000 (12:01 -0700)
The SIZE_T typedef is now removed from the Hyper-V driver code.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Connection.c
drivers/staging/hv/Hv.c
drivers/staging/hv/Hv.h
drivers/staging/hv/VmbusPrivate.h
drivers/staging/hv/include/osd.h
drivers/staging/hv/osd.c

index 7d8e47e1002a36298a9690da992b8de193fdde15..d5815f981ac79e0888f0977f5124268cca9476dc 100644 (file)
@@ -386,7 +386,7 @@ Description:
 int
 VmbusPostMessage(
        void *                  buffer,
-       SIZE_T                  bufferLen
+       size_t                  bufferLen
        )
 {
        int ret=0;
index 586257561a1c221e3a5c63084fb04ce924e302d6..0e7397793ed92dc1c9efbe4b41c1507cc39fb083 100644 (file)
@@ -397,7 +397,7 @@ HvPostMessage(
        HV_CONNECTION_ID connectionId,
        HV_MESSAGE_TYPE  messageType,
        void *            payload,
-       SIZE_T           payloadSize
+       size_t           payloadSize
        )
 {
        struct alignedInput {
index a3c76e2d86d1613ecfea23e0382fad9248dc6b95..bb70724b32f2327e5722e0fd3118e970fd3ffa27 100644 (file)
@@ -163,7 +163,7 @@ HvPostMessage(
        HV_CONNECTION_ID connectionId,
        HV_MESSAGE_TYPE  messageType,
        void *            payload,
-       SIZE_T           payloadSize
+       size_t           payloadSize
        );
 
 static HV_STATUS
index 383ab3206082379224eed5c93b9af50eb4c50df9..671a1e15bd5d59f8176284db0d15b900bbfe4d27 100644 (file)
@@ -149,7 +149,7 @@ VmbusDisconnect(
 static int
 VmbusPostMessage(
        void *                  buffer,
-       SIZE_T                  bufSize
+       size_t                  bufSize
        );
 
 static int
index 366e890762aca75b791af85b1a0dcc5af0a9772f..39173903778aed8e79660864ecef4ff544af9390 100644 (file)
@@ -97,7 +97,6 @@ typedef struct _DLIST_ENTRY {
 //
 // Other types
 //
-typedef unsigned long          SIZE_T;
 //typedef unsigned char                GUID[16];
 typedef unsigned char          BOOL;
 typedef unsigned char          BOOLEAN;
@@ -188,7 +187,7 @@ extern HANDLE TimerCreate(PFN_TIMER_CALLBACK pfnTimerCB, void* context);
 extern void TimerClose(HANDLE hTimer);
 extern int TimerStop(HANDLE hTimer);
 extern void TimerStart(HANDLE hTimer, u32 expirationInUs);
-extern SIZE_T GetTickCount(void);
+extern size_t GetTickCount(void);
 
 extern HANDLE WaitEventCreate(void);
 extern void WaitEventClose(HANDLE hWait);
index 8928ca8da66b38670cf1f61e352b4dd61c7dd9ac..f857cfd4557493288fd33221ec6ab68e780f3f7c 100644 (file)
@@ -312,7 +312,7 @@ void TimerClose(HANDLE hTimer)
        kfree(t);
 }
 
-SIZE_T GetTickCount(void)
+size_t GetTickCount(void)
 {
        return jiffies;
 }