From cbe01f723e9287adb70410b69bedfdc87cd820b4 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 18 Sep 2012 11:41:54 -0700 Subject: [PATCH] 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-format-patch failed