diff options
author | Teodora Baluta <teobaluta@gmail.com> | 2013-10-28 22:09:18 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-29 15:40:53 (GMT) |
commit | f0c80e4e1cd00dfaff98be961bcf28f504d628dc (patch) | |
tree | 92f0fc076195a61260c15f9d12f65db9e9194fdb /drivers/staging/slicoss | |
parent | 8cf9ff570b73273c6439ade681466c87199a8104 (diff) | |
download | linux-fsl-qoriq-f0c80e4e1cd00dfaff98be961bcf28f504d628dc.tar.xz |
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 'drivers/staging/slicoss')
0 files changed, 0 insertions, 0 deletions