public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse.
@ 2011-04-07 14:36 Justin P. Mattock
  2011-04-07 16:22 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Justin P. Mattock @ 2011-04-07 14:36 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Justin P. Mattock

The patch below fixes a build error..

  LD [M]  drivers/staging/hv/hv_utils.o
  CC [M]  drivers/staging/hv/hv_mouse.o
drivers/staging/hv/hv_mouse.c: In function ‘ReleaseInputDevice’:
drivers/staging/hv/hv_mouse.c:293:3: error: implicit declaration of function ‘udelay’ [-Werror=implicit-function-declaration]
drivers/staging/hv/hv_mouse.c: In function ‘MousevscOnReceiveInputReport’:
drivers/staging/hv/hv_mouse.c:418:27: warning: variable ‘inputDriver’ set but not used [-Wunused-but-set-variable]
drivers/staging/hv/hv_mouse.c: In function ‘MousevscOnDeviceAdd’:
drivers/staging/hv/hv_mouse.c:663:27: warning: variable ‘inputDriver’ set but not used [-Wunused-but-set-variable]
cc1: some warnings being treated as errors

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

---
 drivers/staging/hv/hv_mouse.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 50147f8..9c6d4d2 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -23,6 +23,7 @@
 #include <linux/hiddev.h>
 #include <linux/pci.h>
 #include <linux/dmi.h>
+#include <linux/delay.h>
 
 #include "hv_api.h"
 #include "logging.h"
-- 
1.7.4.2


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

* Re: [PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse.
  2011-04-07 14:36 [PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse Justin P. Mattock
@ 2011-04-07 16:22 ` Greg KH
  2011-04-07 16:37   ` Justin P. Mattock
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2011-04-07 16:22 UTC (permalink / raw)
  To: Justin P. Mattock; +Cc: devel, linux-kernel

On Thu, Apr 07, 2011 at 07:36:36AM -0700, Justin P. Mattock wrote:
> The patch below fixes a build error..
> 
>   LD [M]  drivers/staging/hv/hv_utils.o
>   CC [M]  drivers/staging/hv/hv_mouse.o
> drivers/staging/hv/hv_mouse.c: In function ‘ReleaseInputDevice’:
> drivers/staging/hv/hv_mouse.c:293:3: error: implicit declaration of function ‘udelay’ [-Werror=implicit-function-declaration]
> drivers/staging/hv/hv_mouse.c: In function ‘MousevscOnReceiveInputReport’:
> drivers/staging/hv/hv_mouse.c:418:27: warning: variable ‘inputDriver’ set but not used [-Wunused-but-set-variable]
> drivers/staging/hv/hv_mouse.c: In function ‘MousevscOnDeviceAdd’:
> drivers/staging/hv/hv_mouse.c:663:27: warning: variable ‘inputDriver’ set but not used [-Wunused-but-set-variable]
> cc1: some warnings being treated as errors
> 
> Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
> 
> ---
>  drivers/staging/hv/hv_mouse.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Thanks, but this is already in the linux-next tree and will go to Linus
in a few hours.

greg k-h

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

* Re: [PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse.
  2011-04-07 16:22 ` Greg KH
@ 2011-04-07 16:37   ` Justin P. Mattock
  0 siblings, 0 replies; 3+ messages in thread
From: Justin P. Mattock @ 2011-04-07 16:37 UTC (permalink / raw)
  To: Greg KH; +Cc: devel, linux-kernel

On 04/07/2011 09:22 AM, Greg KH wrote:
> On Thu, Apr 07, 2011 at 07:36:36AM -0700, Justin P. Mattock wrote:
>> The patch below fixes a build error..
>>
>>    LD [M]  drivers/staging/hv/hv_utils.o
>>    CC [M]  drivers/staging/hv/hv_mouse.o
>> drivers/staging/hv/hv_mouse.c: In function ‘ReleaseInputDevice’:
>> drivers/staging/hv/hv_mouse.c:293:3: error: implicit declaration of function ‘udelay’ [-Werror=implicit-function-declaration]
>> drivers/staging/hv/hv_mouse.c: In function ‘MousevscOnReceiveInputReport’:
>> drivers/staging/hv/hv_mouse.c:418:27: warning: variable ‘inputDriver’ set but not used [-Wunused-but-set-variable]
>> drivers/staging/hv/hv_mouse.c: In function ‘MousevscOnDeviceAdd’:
>> drivers/staging/hv/hv_mouse.c:663:27: warning: variable ‘inputDriver’ set but not used [-Wunused-but-set-variable]
>> cc1: some warnings being treated as errors
>>
>> Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
>>
>> ---
>>   drivers/staging/hv/hv_mouse.c |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> Thanks, but this is already in the linux-next tree and will go to Linus
> in a few hours.
>
> greg k-h
>


alright... no worries!!

Justin P. Mattock

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

end of thread, other threads:[~2011-04-07 16:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 14:36 [PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse Justin P. Mattock
2011-04-07 16:22 ` Greg KH
2011-04-07 16:37   ` Justin P. Mattock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox