summaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid
diff options
context:
space:
mode:
authorNikolai Kondrashov <spbnick@gmail.com>2014-07-29 15:50:06 +0300
committerJiri Kosina <jkosina@suse.cz>2014-07-29 15:07:08 +0200
commitf20f6eccffcbc0d46d7b70624fea75ac5c970c47 (patch)
tree6151173a706b7049d9d15bab6b59fbaf46004768 /drivers/hid/usbhid
parent3f1f333232fa3c36bbf20de1c6ffefcc96892d07 (diff)
downloadlinux-f20f6eccffcbc0d46d7b70624fea75ac5c970c47.tar.bz2
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/usbhid')
0 files changed, 0 insertions, 0 deletions