commit | 63b3a7d0f933ebf25961e602c2eb11d658fef912 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Mon Jun 20 11:16:18 2016 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Jun 20 11:16:18 2016 +0200 |
tree | e4284b2b56b5466ec70bb6009b33129c56d1e0ce | |
parent | 41f61ecc501ca970ae8d9955c57405dc4abfab5a [diff] |
HID: alps: pass correct sizes to hid_hw_raw_request() Calculating size of the report as sizeof(pointer) always passess the length corresponding to the pointer type, not the underlying data report. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>