Staging: hv: Rename dump_ring_info
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:27 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:05 +0000 (13:49 -0700)
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/channel.c
drivers/staging/hv/ring_buffer.c
drivers/staging/hv/ring_buffer.h

index 3274b29504853f366e19b7b85bc0e7911c6fd73f..be4e00444e72d47c931a9577dfbd973921464b83 100644 (file)
@@ -1001,6 +1001,6 @@ void vmbus_ontimer(unsigned long data)
 static void dump_vmbus_channel(struct vmbus_channel *channel)
 {
        DPRINT_DBG(VMBUS, "Channel (%d)", channel->offermsg.child_relid);
-       dump_ring_info(&channel->outbound, "Outbound ");
-       dump_ring_info(&channel->inbound, "Inbound ");
+       hv_dump_ring_info(&channel->outbound, "Outbound ");
+       hv_dump_ring_info(&channel->inbound, "Inbound ");
 }
index 013b7a5bd2e84470ad341fd666f0629687d6d507..abf009114f0b6293ff187d2e3106eeddff6a5500 100644 (file)
@@ -203,13 +203,13 @@ get_ring_bufferindices(struct hv_ring_buffer_info *ring_info)
 /*++
 
 Name:
-       dump_ring_info()
+       hv_dump_ring_info()
 
 Description:
        Dump out to console the ring buffer info
 
 --*/
-void dump_ring_info(struct hv_ring_buffer_info *ring_info, char *prefix)
+void hv_dump_ring_info(struct hv_ring_buffer_info *ring_info, char *prefix)
 {
        u32 bytes_avail_towrite;
        u32 bytes_avail_toread;
index 64541055b2df69245aa7dcad2ddbd2ed06fd9e6a..61470a3cb5184246ba99b2c5c9526cfb6eb064cd 100644 (file)
@@ -95,7 +95,7 @@ int hv_ringbuffer_read(struct hv_ring_buffer_info *ring_info,
 
 u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *ring_info);
 
-void dump_ring_info(struct hv_ring_buffer_info *ring_info, char *prefix);
+void hv_dump_ring_info(struct hv_ring_buffer_info *ring_info, char *prefix);
 
 void ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
                            struct hv_ring_buffer_debug_info *debug_info);