LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 3/3 v2] hyperv: hid-hyperv.c: match wait_for_completion_timeout return type
@ 2015-01-25 14:47 Nicholas Mc Guire
  2015-01-25 18:07 ` KY Srinivasan
  0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Mc Guire @ 2015-01-25 14:47 UTC (permalink / raw)
  To: K. Y. Srinivasan
  Cc: Haiyang Zhang, Jiri Kosina, devel, linux-kernel, Nicholas Mc Guire

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
---

v2: fixed subject line

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

Patch is against 3.19.0-rc5 -next-20150123

 drivers/hid/hid-hyperv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH 3/3 v2] hyperv: hid-hyperv.c: match wait_for_completion_timeout return type
  2015-01-25 14:47 [PATCH 3/3 v2] hyperv: hid-hyperv.c: match wait_for_completion_timeout return type Nicholas Mc Guire
@ 2015-01-25 18:07 ` KY Srinivasan
  2015-01-26 13:28   ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: KY Srinivasan @ 2015-01-25 18:07 UTC (permalink / raw)
  To: Nicholas Mc Guire; +Cc: Haiyang Zhang, Jiri Kosina, devel, linux-kernel



> -----Original Message-----
> From: Nicholas Mc Guire [mailto:der.herr@hofr.at]
> Sent: Sunday, January 25, 2015 6:48 AM
> To: KY Srinivasan
> Cc: Haiyang Zhang; Jiri Kosina; devel@linuxdriverproject.org; linux-
> kernel@vger.kernel.org; Nicholas Mc Guire
> Subject: [PATCH 3/3 v2] hyperv: hid-hyperv.c: match
> wait_for_completion_timeout return type
> 
> Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>

Thank you.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>

> ---
> 
> v2: fixed subject line
> 
> 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
> 
> Patch is against 3.19.0-rc5 -next-20150123
> 
>  drivers/hid/hid-hyperv.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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;
> --
> 1.7.10.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH 3/3 v2] hyperv: hid-hyperv.c: match wait_for_completion_timeout return type
  2015-01-25 18:07 ` KY Srinivasan
@ 2015-01-26 13:28   ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2015-01-26 13:28 UTC (permalink / raw)
  To: KY Srinivasan; +Cc: Nicholas Mc Guire, Haiyang Zhang, devel, linux-kernel

On Sun, 25 Jan 2015, KY Srinivasan wrote:

> > Subject: [PATCH 3/3 v2] hyperv: hid-hyperv.c: match
> > wait_for_completion_timeout return type
> > 
> > Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
> 
> Thank you.
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>

Applied. Nicholas, please make sure that next time you format the 
changelog properly (whatever goes after '---' is normally ignored).

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-26 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-25 14:47 [PATCH 3/3 v2] hyperv: hid-hyperv.c: match wait_for_completion_timeout return type Nicholas Mc Guire
2015-01-25 18:07 ` KY Srinivasan
2015-01-26 13:28   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).