From: Nicholas Mc Guire Date: Fri, 27 Feb 2015 19:26:02 +0000 (-0800) Subject: hv: channel_mgmt: match var type to return type of wait_for_completion X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=51e5181d20086c0b26e871deffeff3ff47cf5c4b;p=linux-beck.git 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 Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- 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),