summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2015-02-27 22:26:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-02 06:30:08 +0300
commit51e5181d20086c0b26e871deffeff3ff47cf5c4b (patch)
tree5d5802fe662fd89aa5ebb29ba466887245e282be /drivers/hv
parent08a9513f7417d6dff9a1ab0c163900f503ff84eb (diff)
downloadlinux-51e5181d20086c0b26e871deffeff3ff47cf5c4b.tar.xz
hv: channel_mgmt: 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')
-rw-r--r--drivers/hv/channel_mgmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index 36bacc75a32a..6be93f09f976 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -789,7 +789,8 @@ int vmbus_request_offers(void)
{
struct vmbus_channel_message_header *msg;
struct vmbus_channel_msginfo *msginfo;
- int ret, t;
+ int ret;
+ unsigned long t;
msginfo = kmalloc(sizeof(*msginfo) +
sizeof(struct vmbus_channel_message_header),