diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 07:55:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 13:49:00 -0700 |
commit | 72a95cbcbc24a464f3a51e610bd444fde2c73bbd (patch) | |
tree | 2726fcad7fd057d66ed5c8051576a4a0d94ec78b /drivers/staging/hv/channel.c | |
parent | 1745ec504a80c620a7c9b9df5a03de56cfbd85d5 (diff) | |
download | op-kernel-dev-72a95cbcbc24a464f3a51e610bd444fde2c73bbd.zip op-kernel-dev-72a95cbcbc24a464f3a51e610bd444fde2c73bbd.tar.gz |
Staging: hv: Rename the function ringbuffer_init
Rename the function ringbuffer_init to not pollute the
namespace.
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>
Diffstat (limited to 'drivers/staging/hv/channel.c')
-rw-r--r-- | drivers/staging/hv/channel.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index b53be58..43e54b5 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -201,13 +201,16 @@ int vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size, newchannel->ringbuffer_pagecount = (send_ringbuffer_size + recv_ringbuffer_size) >> PAGE_SHIFT; - ret = ringbuffer_init(&newchannel->outbound, out, send_ringbuffer_size); + ret = hv_ringbuffer_init( + &newchannel->outbound, out, send_ringbuffer_size); + if (ret != 0) { err = ret; goto errorout; } - ret = ringbuffer_init(&newchannel->inbound, in, recv_ringbuffer_size); + ret = hv_ringbuffer_init( + &newchannel->inbound, in, recv_ringbuffer_size); if (ret != 0) { err = ret; goto errorout; |