]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ab940348dc30257fa8cca15e7b5330902aa4d39
tree5b9ef9e48ef3964b36ab103964077cd84ee45e9b
parent890795b6de86cf94476743486c1c67592ae6f254
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