[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20090922054147.GA5988@dcent.unixwiz.lan>
Date: Mon, 21 Sep 2009 22:41:47 -0700
From: Steve Friedl <steve@...xwiz.net>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 4/8] staging: hv: Renamed |typedef RING_BUFFER_DEBUG_INFO| to |struct hv_ring_buffer_debug_info|
... last of the RingBuffer.c typedef fixes
~~~ Steve
Signed-off-by: Steve Friedl <steve@...xwiz.net>
---
drivers/staging/hv/ChannelMgmt.h | 4 ++--
drivers/staging/hv/RingBuffer.c | 2 +-
drivers/staging/hv/RingBuffer.h | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/hv/ChannelMgmt.h b/drivers/staging/hv/ChannelMgmt.h
index 407a2ee..2f398d2 100644
--- a/drivers/staging/hv/ChannelMgmt.h
+++ b/drivers/staging/hv/ChannelMgmt.h
@@ -271,8 +271,8 @@ struct vmbus_channel_debug_info {
u32 ClientMonitorLatency;
u32 ClientMonitorConnectionId;
- RING_BUFFER_DEBUG_INFO Inbound;
- RING_BUFFER_DEBUG_INFO Outbound;
+ struct hv_ring_buffer_debug_info Inbound;
+ struct hv_ring_buffer_debug_info Outbound;
};
/*
diff --git a/drivers/staging/hv/RingBuffer.c b/drivers/staging/hv/RingBuffer.c
index 0a4076c..c50c447 100644
--- a/drivers/staging/hv/RingBuffer.c
+++ b/drivers/staging/hv/RingBuffer.c
@@ -251,7 +251,7 @@ Description:
--*/
void RingBufferGetDebugInfo(struct hv_ring_buffer_info *RingInfo,
- RING_BUFFER_DEBUG_INFO *DebugInfo)
+ struct hv_ring_buffer_debug_info *DebugInfo)
{
u32 bytesAvailToWrite;
u32 bytesAvailToRead;
diff --git a/drivers/staging/hv/RingBuffer.h b/drivers/staging/hv/RingBuffer.h
index 6580156..3268f80 100644
--- a/drivers/staging/hv/RingBuffer.h
+++ b/drivers/staging/hv/RingBuffer.h
@@ -63,13 +63,13 @@ struct hv_ring_buffer_info {
};
-typedef struct _RING_BUFFER_DEBUG_INFO {
+struct hv_ring_buffer_debug_info {
u32 CurrentInterruptMask;
u32 CurrentReadIndex;
u32 CurrentWriteIndex;
u32 BytesAvailToRead;
u32 BytesAvailToWrite;
-} RING_BUFFER_DEBUG_INFO;
+};
@@ -96,6 +96,6 @@ u32 GetRingBufferInterruptMask(struct hv_ring_buffer_info *RingInfo);
void DumpRingInfo(struct hv_ring_buffer_info *RingInfo, char *Prefix);
void RingBufferGetDebugInfo(struct hv_ring_buffer_info *RingInfo,
- RING_BUFFER_DEBUG_INFO *DebugInfo);
+ struct hv_ring_buffer_debug_info *DebugInfo);
#endif /* _RING_BUFFER_H_ */
--
1.6.5.rc1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists