summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wsem.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-04-22 14:21:39 +0200
committerJiri Kosina <jkosina@suse.cz>2012-05-01 12:54:53 +0200
commit2a039bf5a6caa6b41c3839c1e3a19b20fb38270b (patch)
treeead38dc1262b0f62063607d08ef354faccdc9df9 /lib/locking-selftest-wsem.h
parentHID: hid-hyperv: Do not use hid_parse_report() directly (diff)
downloadlinux-2a039bf5a6caa6b41c3839c1e3a19b20fb38270b.tar.xz
linux-2a039bf5a6caa6b41c3839c1e3a19b20fb38270b.zip
HID: hid-logitech: Collect report descriptors before sending
The current code allows several consecutive calls to hid_parse_report(), which may have happened to work before, but would cause a memory leak and generally be incorrect. This patch collects all the reports before sending them once. Cc: Nestor Lopez Casado <nlopezcasad@logitech.com> Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions