aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2015-02-27 14:26:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 22:30:08 -0500
commit51e5181d20086c0b26e871deffeff3ff47cf5c4b (patch)
tree5d5802fe662fd89aa5ebb29ba466887245e282be /drivers/hv
parent08a9513f7417d6dff9a1ab0c163900f503ff84eb (diff)
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)
789{ 789{
790 struct vmbus_channel_message_header *msg; 790 struct vmbus_channel_message_header *msg;
791 struct vmbus_channel_msginfo *msginfo; 791 struct vmbus_channel_msginfo *msginfo;
792 int ret, t; 792 int ret;
793 unsigned long t;
793 794
794 msginfo = kmalloc(sizeof(*msginfo) + 795 msginfo = kmalloc(sizeof(*msginfo) +
795 sizeof(struct vmbus_channel_message_header), 796 sizeof(struct vmbus_channel_message_header),