diff options
author | 2016-03-16 16:59:38 -0700 | |
---|---|---|
committer | 2016-03-24 15:21:54 +0100 | |
commit | 8f507c8b0fa5d679e2957aad0e5ecd47675fca9a (patch) | |
tree | 427024c2176d6a4ab06b5178e1874dc24b0c6b74 /scripts/gdb/linux/utils.py | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid (diff) | |
download | linux-rng-8f507c8b0fa5d679e2957aad0e5ecd47675fca9a.tar.xz linux-rng-8f507c8b0fa5d679e2957aad0e5ecd47675fca9a.zip |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions