diff options
author | Nicholas Mc Guire <der.herr@hofr.at> | 2015-02-27 20:26:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-02 04:30:08 +0100 |
commit | b057b3ad16e1c6e21e234cd7f5c61c525da97f17 (patch) | |
tree | 41967f5fd99205de43ec40cff26f9f3d0d6696f6 /drivers/hv/hv_balloon.c | |
parent | hv: channel_mgmt: match var type to return type of wait_for_completion (diff) | |
download | linux-b057b3ad16e1c6e21e234cd7f5c61c525da97f17.tar.xz linux-b057b3ad16e1c6e21e234cd7f5c61c525da97f17.zip |
hv: hv_balloon: 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/hv_balloon.c')
-rw-r--r-- | drivers/hv/hv_balloon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index ff169386b2c7..965c37aab277 100644 --- a/drivers/hv/hv_balloon.c +++ b/drivers/hv/hv_balloon.c @@ -1414,7 +1414,8 @@ static void balloon_onchannelcallback(void *context) static int balloon_probe(struct hv_device *dev, const struct hv_vmbus_device_id *dev_id) { - int ret, t; + int ret; + unsigned long t; struct dm_version_request version_req; struct dm_capabilities cap_msg; |