summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2015-02-27 14:26:01 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 22:30:07 -0500
commit08a9513f7417d6dff9a1ab0c163900f503ff84eb (patch)
treec3a1b082626ef3739a3525a238a7c3801deee1a9 /drivers/hv/channel.c
parentac0d12b7cee73b4b4b769ea58c62ec7042c6be13 (diff)
hv: channel: match var type to return type of wait_for_completion
return type of wait_for_completion_timeout is unsigned long not int, this patch changes the type of t from int to unsigned long. Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel.c')
-rw-r--r--drivers/hv/channel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index 26dcf268b093..f6879950e131 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -71,7 +71,8 @@ int vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size,
71 struct vmbus_channel_msginfo *open_info = NULL; 71 struct vmbus_channel_msginfo *open_info = NULL;
72 void *in, *out; 72 void *in, *out;
73 unsigned long flags; 73 unsigned long flags;
74 int ret, t, err = 0; 74 int ret, err = 0;
75 unsigned long t;
75 76
76 spin_lock_irqsave(&newchannel->lock, flags); 77 spin_lock_irqsave(&newchannel->lock, flags);
77 if (newchannel->state == CHANNEL_OPEN_STATE) { 78 if (newchannel->state == CHANNEL_OPEN_STATE) {