diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2012-04-22 14:21:39 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-05-01 12:54:53 +0200 |
commit | 2a039bf5a6caa6b41c3839c1e3a19b20fb38270b (patch) | |
tree | ead38dc1262b0f62063607d08ef354faccdc9df9 /lib/locking-selftest-wsem.h | |
parent | HID: hid-hyperv: Do not use hid_parse_report() directly (diff) | |
download | linux-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