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>
This commit is contained in:
parent
51e5181d20
commit
b057b3ad16
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue