From: Nicholas Mc Guire Date: Fri, 27 Feb 2015 19:26:03 +0000 (-0800) Subject: hv: hv_balloon: match var type to return type of wait_for_completion X-Git-Tag: v4.14-rc1~5524^2~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b057b3ad16e1c6e21e234cd7f5c61c525da97f17;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index ff16938..965c37a 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;