Browse Source

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>
Nicholas Mc Guire 10 years ago
parent
commit
51e5181d20
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/hv/channel_mgmt.c

+ 2 - 1
drivers/hv/channel_mgmt.c

@@ -789,7 +789,8 @@ int vmbus_request_offers(void)
 {
 {
 	struct vmbus_channel_message_header *msg;
 	struct vmbus_channel_message_header *msg;
 	struct vmbus_channel_msginfo *msginfo;
 	struct vmbus_channel_msginfo *msginfo;
-	int ret, t;
+	int ret;
+	unsigned long t;
 
 
 	msginfo = kmalloc(sizeof(*msginfo) +
 	msginfo = kmalloc(sizeof(*msginfo) +
 			  sizeof(struct vmbus_channel_message_header),
 			  sizeof(struct vmbus_channel_message_header),