summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-core.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2016-06-20 09:16:18 (GMT)
committerJiri Kosina <jkosina@suse.cz>2016-06-20 09:16:18 (GMT)
commit63b3a7d0f933ebf25961e602c2eb11d658fef912 (patch)
treee4284b2b56b5466ec70bb6009b33129c56d1e0ce /drivers/hid/hid-core.c
parent41f61ecc501ca970ae8d9955c57405dc4abfab5a (diff)
downloadlinux-63b3a7d0f933ebf25961e602c2eb11d658fef912.tar.xz
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>
Diffstat (limited to 'drivers/hid/hid-core.c')
0 files changed, 0 insertions, 0 deletions