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 <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Nicholas Mc Guire 2015-02-27 11:26:03 -08:00 • committed by Greg Kroah-Hartman
commit b057b3ad16

View file

@ -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;