commit | 4a8e70f5d0d80675fc17b9ba1e62db8ca6b91775 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jul 29 13:16:06 2015 +0300 |
committer | Jiri Kosina <jkosina@suse.com> | Wed Jul 29 14:05:15 2015 +0200 |
tree | 677fea5a9e3a87f27c4f80dc211da0a5be9a6123 | |
parent | 6debce6f4e787a8eb4cec94e7afa85fb4f40db27 [diff] |
HID: uclogic: fix limit in uclogic_tablet_enable() The limit should be ARRAY_SIZE(params) (5 elements) here instead of sizeof(params) (20 bytes). Fixes: 08177f40bd00 ('HID: uclogic: merge hid-huion driver in hid-uclogic') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Nikolai Kondrashov <spbnick@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>