HID: hyperv: make sure input buffer is big enough
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 19 Dec 2013 11:32:24 +0000 (12:32 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Feb 2014 20:18:35 +0000 (21:18 +0100)
commit3ccfd0a8d7062a5590923578eea829ee582beba8
tree5b9ef9e48ef3964b36ab103964077cd84ee45e9b
parenta4b1b5877b514b276f0f31efe02388a9c2836728
HID: hyperv: make sure input buffer is big enough

We need at least HID_MAX_BUFFER_SIZE (4096) bytes as input buffer. HID
core depends on this as it requires every input report to be at least as
big as advertised.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-hyperv.c