diff options
author | Greg Kroah-Hartman | 2010-07-27 20:37:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-07-27 20:37:32 +0200 |
commit | 80682b7a4821b9e4f05bcc2ec855aaafcef33234 (patch) | |
tree | 4d43a6636a41e8e9ad2479f8fa5896a88b312795 /drivers/staging/hv/ring_buffer.c | |
parent | Staging: usbip: fix up build error (diff) | |
download | kernel-qcow2-linux-80682b7a4821b9e4f05bcc2ec855aaafcef33234.tar.gz kernel-qcow2-linux-80682b7a4821b9e4f05bcc2ec855aaafcef33234.tar.xz kernel-qcow2-linux-80682b7a4821b9e4f05bcc2ec855aaafcef33234.zip |
Staging: hv: remove RING_BUFFER_DEBUG_INFO typedef
typedefs are bad, kill them.
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/ring_buffer.c')
-rw-r--r-- | drivers/staging/hv/ring_buffer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/hv/ring_buffer.c b/drivers/staging/hv/ring_buffer.c index 66a497495d15..ac8cb69147c4 100644 --- a/drivers/staging/hv/ring_buffer.c +++ b/drivers/staging/hv/ring_buffer.c @@ -257,7 +257,7 @@ Description: --*/ void RingBufferGetDebugInfo(RING_BUFFER_INFO *RingInfo, - RING_BUFFER_DEBUG_INFO *DebugInfo) + struct hv_ring_buffer_debug_info *debug_info) { u32 bytesAvailToWrite; u32 bytesAvailToRead; @@ -267,11 +267,11 @@ void RingBufferGetDebugInfo(RING_BUFFER_INFO *RingInfo, &bytesAvailToRead, &bytesAvailToWrite); - DebugInfo->BytesAvailToRead = bytesAvailToRead; - DebugInfo->BytesAvailToWrite = bytesAvailToWrite; - DebugInfo->CurrentReadIndex = RingInfo->RingBuffer->ReadIndex; - DebugInfo->CurrentWriteIndex = RingInfo->RingBuffer->WriteIndex; - DebugInfo->CurrentInterruptMask = RingInfo->RingBuffer->InterruptMask; + debug_info->BytesAvailToRead = bytesAvailToRead; + debug_info->BytesAvailToWrite = bytesAvailToWrite; + debug_info->CurrentReadIndex = RingInfo->RingBuffer->ReadIndex; + debug_info->CurrentWriteIndex = RingInfo->RingBuffer->WriteIndex; + debug_info->CurrentInterruptMask = RingInfo->RingBuffer->InterruptMask; } } |