diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-14 15:14:20 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:46 -0700 |
commit | 45635d9703d649645afa52b23896d02e38a73852 (patch) | |
tree | 5abb437394a27ca3dd29ca1c122327378dd50f40 | |
parent | 3abcbc45cb768ec84b9643bc8f141639dcfba4c3 (diff) | |
download | op-kernel-dev-45635d9703d649645afa52b23896d02e38a73852.zip op-kernel-dev-45635d9703d649645afa52b23896d02e38a73852.tar.gz |
Staging: hv: remove SIZE_T typedef
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>
-rw-r--r-- | drivers/staging/hv/Connection.c | 2 | ||||
-rw-r--r-- | drivers/staging/hv/Hv.c | 2 | ||||
-rw-r--r-- | drivers/staging/hv/Hv.h | 2 | ||||
-rw-r--r-- | drivers/staging/hv/VmbusPrivate.h | 2 | ||||
-rw-r--r-- | drivers/staging/hv/include/osd.h | 3 | ||||
-rw-r--r-- | drivers/staging/hv/osd.c | 2 |
6 files changed, 6 insertions, 7 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c index 7d8e47e..d5815f9 100644 --- a/drivers/staging/hv/Connection.c +++ b/drivers/staging/hv/Connection.c @@ -386,7 +386,7 @@ Description: int VmbusPostMessage( void * buffer, - SIZE_T bufferLen + size_t bufferLen ) { int ret=0; diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 5862575..0e739779 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -397,7 +397,7 @@ HvPostMessage( HV_CONNECTION_ID connectionId, HV_MESSAGE_TYPE messageType, void * payload, - SIZE_T payloadSize + size_t payloadSize ) { struct alignedInput { diff --git a/drivers/staging/hv/Hv.h b/drivers/staging/hv/Hv.h index a3c76e2..bb70724 100644 --- a/drivers/staging/hv/Hv.h +++ b/drivers/staging/hv/Hv.h @@ -163,7 +163,7 @@ HvPostMessage( HV_CONNECTION_ID connectionId, HV_MESSAGE_TYPE messageType, void * payload, - SIZE_T payloadSize + size_t payloadSize ); static HV_STATUS diff --git a/drivers/staging/hv/VmbusPrivate.h b/drivers/staging/hv/VmbusPrivate.h index 383ab32..671a1e1 100644 --- a/drivers/staging/hv/VmbusPrivate.h +++ b/drivers/staging/hv/VmbusPrivate.h @@ -149,7 +149,7 @@ VmbusDisconnect( static int VmbusPostMessage( void * buffer, - SIZE_T bufSize + size_t bufSize ); static int diff --git a/drivers/staging/hv/include/osd.h b/drivers/staging/hv/include/osd.h index 366e890..3917390 100644 --- a/drivers/staging/hv/include/osd.h +++ b/drivers/staging/hv/include/osd.h @@ -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); diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index 8928ca8d..f857cfd 100644 --- a/drivers/staging/hv/osd.c +++ b/drivers/staging/hv/osd.c @@ -312,7 +312,7 @@ void TimerClose(HANDLE hTimer) kfree(t); } -SIZE_T GetTickCount(void) +size_t GetTickCount(void) { return jiffies; } |