From: H Hartley Sweeten Date: Tue, 18 Sep 2012 18:42:37 +0000 (-0700) Subject: staging: comedi: comedi_fops: rename user_cmd in do_cmd_ioctl X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88bc0574ba6a7cb38f4b5ea2f0e5ed9fe4ab7e27;p=pandora-kernel.git 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 Cc: Ian Abbott Acked-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed