summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-01-13 20:23:30 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-14 03:46:19 +0400
commit9010a286d9857fccfac69e5e8bdf9b74ea1f7c0e (patch)
treecabc0dfdf88d681f03952ad30b6b5e462fbe34f0 /tools/perf/util/scripting-engines/trace-event-python.c
parent86a362f16079d435a08d27f92ac2bee4e12856f1 (diff)
downloadlinux-9010a286d9857fccfac69e5e8bdf9b74ea1f7c0e.tar.xz
staging: vt6656: sparse fixes: iwctl_siwgenie use memcpy.
extra is in kernel space replace copy_from_user with memcpy with no need to error check. We already know that extra is valid by error checking on wrq->length. sparse warning iwctl.c:1567:53: warning: incorrect type in argument 2 (different address spaces) iwctl.c:1567:53: expected void const [noderef] <asn:1>*from iwctl.c:1567:53: got char *extra Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions