mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:06:59 +07:00
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>
This commit is contained in:
parent
3abcbc45cb
commit
45635d9703
@ -386,7 +386,7 @@ VmbusOnEvents(
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user