diff options
| author | H Hartley Sweeten <[email protected]> | 2012-09-18 11:42:37 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-09-19 09:36:44 +0100 |
| commit | 88bc0574ba6a7cb38f4b5ea2f0e5ed9fe4ab7e27 (patch) | |
| tree | b4910e5cb4ba849e5315025202c56b062948b8cd /tools/perf/scripts/python | |
| parent | cbe01f723e9287adb70410b69bedfdc87cd820b4 (diff) | |
staging: comedi: comedi_fops: rename user_cmd in do_cmd_ioctl
This local variable is used to hold the comedi_cmd that is passed
to the kernel as the argument to the COMEDI_CMD 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 <[email protected]>
Cc: Ian Abbott <[email protected]>
Acked-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions