diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-29 09:04:51 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:52 -0700 |
commit | bd1de709165a4f59878d4a272370fa228aa753f7 (patch) | |
tree | e4e112734f4632962790284721548c874bae0820 /drivers/staging/hv/RingBuffer.c | |
parent | 0b3f683488aaf5f501dfa9758054a23b1b625e4f (diff) |
Staging: hv: fix sparse static warnings
This fixes up all of the sparse warnings about static functions.
Cc: Hank Janssen <hjanssen@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.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/hv/RingBuffer.c b/drivers/staging/hv/RingBuffer.c index 6a9f568cc3f4..d338ce25e2b0 100644 --- a/drivers/staging/hv/RingBuffer.c +++ b/drivers/staging/hv/RingBuffer.c @@ -203,7 +203,7 @@ Description: Dump out to console the ring buffer info --*/ -void +static void DumpRingInfo(RING_BUFFER_INFO* RingInfo, char *Prefix) { u32 bytesAvailToWrite; @@ -249,7 +249,7 @@ Description: Get various debug metrics for the specified ring buffer --*/ -void +static void RingBufferGetDebugInfo( RING_BUFFER_INFO *RingInfo, RING_BUFFER_DEBUG_INFO *DebugInfo @@ -281,7 +281,7 @@ Description: Get the interrupt mask for the specified ring buffer --*/ -u32 +static u32 GetRingBufferInterruptMask( RING_BUFFER_INFO *rbi ) @@ -298,7 +298,7 @@ Description: Initialize the ring buffer --*/ -int +static int RingBufferInit( RING_BUFFER_INFO *RingInfo, void *Buffer, @@ -329,7 +329,7 @@ Description: Cleanup the ring buffer --*/ -void +static void RingBufferCleanup( RING_BUFFER_INFO* RingInfo ) @@ -345,7 +345,7 @@ Description: Write to the ring buffer --*/ -int +static int RingBufferWrite( RING_BUFFER_INFO* OutRingInfo, SG_BUFFER_LIST SgBuffers[], @@ -435,7 +435,7 @@ Description: Read without advancing the read index --*/ -int +static int RingBufferPeek( RING_BUFFER_INFO* InRingInfo, void* Buffer, @@ -484,7 +484,7 @@ Description: Read and advance the read index --*/ -int +static int RingBufferRead( RING_BUFFER_INFO* InRingInfo, void * Buffer, @@ -555,7 +555,7 @@ Description: Assume there is enough room. Handles wrap-around in dest case only!! --*/ -u32 +static u32 CopyToRingBuffer( RING_BUFFER_INFO *RingInfo, u32 StartWriteOffset, @@ -596,7 +596,7 @@ Description: Assume there is enough room. Handles wrap-around in src case only!! --*/ -u32 +static u32 CopyFromRingBuffer( RING_BUFFER_INFO *RingInfo, void * Dest, |