commit | 8f507c8b0fa5d679e2957aad0e5ecd47675fca9a | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Mar 16 16:59:38 2016 -0700 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Mar 24 15:21:54 2016 +0100 |
tree | 427024c2176d6a4ab06b5178e1874dc24b0c6b74 | |
parent | d66435cc7da95964cb386674bd82ec12ca66320a [diff] |
HID: hidraw: switch to using memdup_user Instead of open-coding memory allocation and copying form user memory sequence let's use memdup_user(). Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>