From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:27 +0000 (-0700) Subject: Staging: hv: Rename dump_ring_info X-Git-Tag: firefly_0821_release~7613^2~1326^2~333 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=549bf93f2853634383ae850d52afa1f4f656cb38;p=firefly-linux-kernel-4.4.55.git Staging: hv: Rename dump_ring_info Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index 3274b2950485..be4e00444e72 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -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 "); } diff --git a/drivers/staging/hv/ring_buffer.c b/drivers/staging/hv/ring_buffer.c index 013b7a5bd2e8..abf009114f0b 100644 --- a/drivers/staging/hv/ring_buffer.c +++ b/drivers/staging/hv/ring_buffer.c @@ -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; diff --git a/drivers/staging/hv/ring_buffer.h b/drivers/staging/hv/ring_buffer.h index 64541055b2df..61470a3cb518 100644 --- a/drivers/staging/hv/ring_buffer.h +++ b/drivers/staging/hv/ring_buffer.h @@ -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);