Skip to content
Commit 63b3a7d0 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 41f61ecc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment