diff options
author | Nikolai Kondrashov <spbnick@gmail.com> | 2014-07-29 15:50:06 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-07-29 15:07:08 +0200 |
commit | f20f6eccffcbc0d46d7b70624fea75ac5c970c47 (patch) | |
tree | 6151173a706b7049d9d15bab6b59fbaf46004768 /drivers/hid/hid-sony.c | |
parent | 3f1f333232fa3c36bbf20de1c6ffefcc96892d07 (diff) |
HID: huion: Fix sparse warnings
Fix sparse warnings in hid-huion.c by using correct buffer type for
retrieved string descriptor.
The warnings in question were:
drivers/hid/hid-huion.c:144:44: sparse: cast to restricted __le16
drivers/hid/hid-huion.c:145:44: sparse: cast to restricted __le16
drivers/hid/hid-huion.c:146:51: sparse: cast to restricted __le16
drivers/hid/hid-huion.c:147:30: sparse: cast to restricted __le16
Reported-by: fengguang.wu@intel.com
Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sony.c')
0 files changed, 0 insertions, 0 deletions