diff options
author | Teodora Baluta <teobaluta@gmail.com> | 2013-10-29 00:09:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-29 08:40:53 -0700 |
commit | f0c80e4e1cd00dfaff98be961bcf28f504d628dc (patch) | |
tree | 92f0fc076195a61260c15f9d12f65db9e9194fdb /kernel/gcov | |
parent | 8cf9ff570b73273c6439ade681466c87199a8104 (diff) |
staging: comedi: use memdup_user to simplify code
Use memdup_user rather than duplicating implementation. Fix following
coccinelle warnings:
drivers/staging/comedi/comedi_fops.c:1425:5-12: WARNING opportunity for memdup_user
drivers/staging/comedi/comedi_fops.c:1553:6-13: WARNING opportunity for memdup_user
Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions