summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/RingBuffer.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-14 15:06:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:45 -0700
commit8282c400144a83f85f637a5251740d670e392e84 (patch)
tree9e88dca6ed8f346f849e4244e1fab613d9631fa3 /drivers/staging/hv/RingBuffer.c
parent2be1301b7dafe5c1d081607377291d4274b40d66 (diff)
Staging: hv: remove PVOID typedef
The PVOID 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>
Diffstat (limited to 'drivers/staging/hv/RingBuffer.c')
-rw-r--r--drivers/staging/hv/RingBuffer.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/hv/RingBuffer.c b/drivers/staging/hv/RingBuffer.c
index 31db6f96c525..cdfd45af93a7 100644
--- a/drivers/staging/hv/RingBuffer.c
+++ b/drivers/staging/hv/RingBuffer.c
@@ -156,10 +156,10 @@ Description:
Get the start of the ring buffer
--*/
-static inline PVOID
+static inline void *
GetRingBuffer(RING_BUFFER_INFO* RingInfo)
{
- return (PVOID)RingInfo->RingBuffer->Buffer;
+ return (void *)RingInfo->RingBuffer->Buffer;
}
@@ -228,13 +228,13 @@ static UINT32
CopyToRingBuffer(
RING_BUFFER_INFO *RingInfo,
UINT32 StartWriteOffset,
- PVOID Src,
+ void * Src,
UINT32 SrcLen);
static UINT32
CopyFromRingBuffer(
RING_BUFFER_INFO *RingInfo,
- PVOID Dest,
+ void * Dest,
UINT32 DestLen,
UINT32 StartReadOffset);
@@ -486,7 +486,7 @@ Description:
int
RingBufferRead(
RING_BUFFER_INFO* InRingInfo,
- PVOID Buffer,
+ void * Buffer,
UINT32 BufferLen,
UINT32 Offset
)
@@ -557,10 +557,10 @@ UINT32
CopyToRingBuffer(
RING_BUFFER_INFO *RingInfo,
UINT32 StartWriteOffset,
- PVOID Src,
+ void * Src,
UINT32 SrcLen)
{
- PVOID ringBuffer=GetRingBuffer(RingInfo);
+ void * ringBuffer=GetRingBuffer(RingInfo);
UINT32 ringBufferSize=GetRingBufferSize(RingInfo);
UINT32 fragLen;
@@ -597,11 +597,11 @@ Description:
UINT32
CopyFromRingBuffer(
RING_BUFFER_INFO *RingInfo,
- PVOID Dest,
+ void * Dest,
UINT32 DestLen,
UINT32 StartReadOffset)
{
- PVOID ringBuffer=GetRingBuffer(RingInfo);
+ void * ringBuffer=GetRingBuffer(RingInfo);
UINT32 ringBufferSize=GetRingBufferSize(RingInfo);
UINT32 fragLen;