From: Henrik Rydberg Date: Sun, 22 Apr 2012 12:21:39 +0000 (+0200) Subject: HID: hid-logitech: Collect report descriptors before sending X-Git-Tag: v3.5-rc1~138^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a039bf5a6caa6b41c3839c1e3a19b20fb38270b;p=pandora-kernel.git 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 Tested-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed