From: Nicholas Mc Guire Date: Sun, 25 Jan 2015 14:47:47 +0000 (+0100) Subject: HID: hyperv: match wait_for_completion_timeout return type X-Git-Tag: v5.15~16378^2^7~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3458e4c0e5f8783ae699e1205062d1fdd2a48cca;p=platform%2Fkernel%2Flinux-starfive.git HID: hyperv: match wait_for_completion_timeout return type The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y CONFIG_HYPERV=m, CONFIG_HID_HYPERV_MOUSE=m Signed-off-by: Nicholas Mc Guire Signed-off-by: K. Y. Srinivasan Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c index 31fad64..6039f07 100644 --- a/drivers/hid/hid-hyperv.c +++ b/drivers/hid/hid-hyperv.c @@ -381,7 +381,7 @@ static void mousevsc_on_channel_callback(void *context) static int mousevsc_connect_to_vsp(struct hv_device *device) { int ret = 0; - int t; + unsigned long t; struct mousevsc_dev *input_dev = hv_get_drvdata(device); struct mousevsc_prt_msg *request; struct mousevsc_prt_msg *response;