diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-20 12:17:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:58 -0700 |
commit | ee3d7ddfe54108e2e1e3259fb62ec085404c3a74 (patch) | |
tree | c4777e10194096f411a98908aa2cf90e4d1f2c7a /drivers/staging/hv/Channel.c | |
parent | 54b2b847f522eb2c015455bd592a7214972f4d6c (diff) |
Staging: hv: typedef removal for VmbusApi.h
The function pointers still have ugly names, but the structures
are now cleaned up.
Note, a comment was added where the driver structure is pointing
at a problem that needs to be fixed up later in the code.
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Channel.c')
-rw-r--r-- | drivers/staging/hv/Channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c index f8607320de4..5bea2d6bff9 100644 --- a/drivers/staging/hv/Channel.c +++ b/drivers/staging/hv/Channel.c @@ -791,7 +791,7 @@ Description: --*/ int VmbusChannelSendPacketPageBuffer(struct vmbus_channel *Channel, - PAGE_BUFFER PageBuffers[], + struct hv_page_buffer PageBuffers[], u32 PageCount, void * Buffer, u32 BufferLen, @@ -814,7 +814,7 @@ int VmbusChannelSendPacketPageBuffer(struct vmbus_channel *Channel, DumpVmbusChannel(Channel); /* Adjust the size down since VMBUS_CHANNEL_PACKET_PAGE_BUFFER is the largest size we support */ - descSize = sizeof(struct VMBUS_CHANNEL_PACKET_PAGE_BUFFER) - ((MAX_PAGE_BUFFER_COUNT - PageCount)*sizeof(PAGE_BUFFER)); + descSize = sizeof(struct VMBUS_CHANNEL_PACKET_PAGE_BUFFER) - ((MAX_PAGE_BUFFER_COUNT - PageCount)*sizeof(struct hv_page_buffer)); packetLen = descSize + BufferLen; packetLenAligned = ALIGN_UP(packetLen, sizeof(u64)); @@ -868,7 +868,7 @@ Description: --*/ int VmbusChannelSendPacketMultiPageBuffer(struct vmbus_channel *Channel, - MULTIPAGE_BUFFER *MultiPageBuffer, + struct hv_multipage_buffer *MultiPageBuffer, void * Buffer, u32 BufferLen, u64 RequestId |