Staging: hv: mousevsc: Handle the case where we may get bogus report desc size
commit60e8615ad6e09f47b15c4d023f728c112b8f7294
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 29 Sep 2011 18:54:45 +0000 (29 11:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:39:32 +0000 (4 10:39 -0700)
tree7e29a9841338828a7506767b3c428875bee6e9ea
parent01584892dbf915a3921c5fc2607363e07023ef5c
Staging: hv: mousevsc: Handle the case where we may get bogus report desc size

Handle the case where we may get bogus report desc size from the host.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hv_mouse.c