diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-18 11:43:13 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-19 09:36:45 +0100 |
commit | f8348677b1fffff801d5323db7ccadfdb2b290d0 (patch) | |
tree | ecd1c0e785ddf66eb58ce2368c1c82a24f29a4c5 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 88bc0574ba6a7cb38f4b5ea2f0e5ed9fe4ab7e27 (diff) |
staging: comedi: comedi_fops: rename user_cmd in do_cmdtest_ioctl
This local variable is used to hold the comedi_cmd that is passed
to the kernel as the argument to the COMEDI_CMDTEST ioctl. Its filled
in with a copy_from_user() call. The name 'user_cmd' is a bit
confusing since it's actually kernel data.
Rename the local variable to 'cmd' to avoid the confusion.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions