From: H Hartley Sweeten Date: Tue, 18 Sep 2012 18:41:54 +0000 (-0700) Subject: staging: comedi: comedi_fops: rename the __user *cmd param in do_cmd_ioctl X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbe01f723e9287adb70410b69bedfdc87cd820b4;p=pandora-kernel.git staging: comedi: comedi_fops: rename the __user *cmd param in do_cmd_ioctl This parameter is actually the unsigned long arg passed in the ioctl. comedi_unlocked_ioctl() casts it as a (struct comedi_cmd __user *) when calling do_cmd_ioctl(). Rename the variable to keep this clear. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Acked-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed