Commit 45635d97 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3abcbc45
......@@ -386,7 +386,7 @@ Description:
int
VmbusPostMessage(
void * buffer,
SIZE_T bufferLen
size_t bufferLen
)
{
int ret=0;
......
......@@ -397,7 +397,7 @@ HvPostMessage(
HV_CONNECTION_ID connectionId,
HV_MESSAGE_TYPE messageType,
void * payload,
SIZE_T payloadSize
size_t payloadSize
)
{
struct alignedInput {
......
......@@ -163,7 +163,7 @@ HvPostMessage(
HV_CONNECTION_ID connectionId,
HV_MESSAGE_TYPE messageType,
void * payload,
SIZE_T payloadSize
size_t payloadSize
);
static HV_STATUS
......
......@@ -149,7 +149,7 @@ VmbusDisconnect(
static int
VmbusPostMessage(
void * buffer,
SIZE_T bufSize
size_t bufSize
);
static int
......
......@@ -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);
......
......@@ -312,7 +312,7 @@ void TimerClose(HANDLE hTimer)
kfree(t);
}
SIZE_T GetTickCount(void)
size_t GetTickCount(void)
{
return jiffies;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment