Skip to content

Commit

Permalink
HID: hyperv: match wait_for_completion_timeout return type
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
hofrat authored and Jiri Kosina committed Jan 26, 2015
1 parent 86312e4 commit 3458e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hid-hyperv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3458e4c

Please sign in to comment.