From: Nicholas Mc Guire Date: Fri, 27 Feb 2015 19:26:01 +0000 (-0800) Subject: hv: channel: match var type to return type of wait_for_completion X-Git-Tag: v4.14-rc1~5524^2~115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08a9513f7417d6dff9a1ab0c163900f503ff84eb;p=platform%2Fkernel%2Flinux-rpi.git hv: channel: 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/channel.c b/drivers/hv/channel.c index 26dcf26..f687995 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c @@ -71,7 +71,8 @@ int vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size, struct vmbus_channel_msginfo *open_info = NULL; void *in, *out; unsigned long flags; - int ret, t, err = 0; + int ret, err = 0; + unsigned long t; spin_lock_irqsave(&newchannel->lock, flags); if (newchannel->state == CHANNEL_OPEN_STATE) {