[PATCH]drivers:staging:hv:hv_mouse.c Fix build error in hv_mouse.

Greg KH gregkh at suse.de
Thu Apr 7 16:22:43 UTC 2011


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 at 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



More information about the devel mailing list