diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-03-16 16:59:38 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-03-24 15:21:54 +0100 |
commit | 8f507c8b0fa5d679e2957aad0e5ecd47675fca9a (patch) | |
tree | 427024c2176d6a4ab06b5178e1874dc24b0c6b74 /drivers/net/ethernet/broadcom/genet/bcmgenet.h | |
parent | d66435cc7da95964cb386674bd82ec12ca66320a (diff) | |
download | lwn-8f507c8b0fa5d679e2957aad0e5ecd47675fca9a.tar.gz lwn-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 'drivers/net/ethernet/broadcom/genet/bcmgenet.h')
0 files changed, 0 insertions, 0 deletions