Commit ea3d010d authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

Staging: bcm: Bcmchar.c: Renamed variable: "ulSFId" -> "sf_id"

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f9940ea6
...@@ -1248,7 +1248,7 @@ static int bcm_char_ioctl_get_dsx_indication(void __user *argp, ...@@ -1248,7 +1248,7 @@ static int bcm_char_ioctl_get_dsx_indication(void __user *argp,
struct bcm_mini_adapter *ad) struct bcm_mini_adapter *ad)
{ {
struct bcm_ioctl_buffer io_buff; struct bcm_ioctl_buffer io_buff;
ULONG ulSFId = 0; ULONG sf_id = 0;
if (copy_from_user(&io_buff, argp, sizeof(struct bcm_ioctl_buffer))) if (copy_from_user(&io_buff, argp, sizeof(struct bcm_ioctl_buffer)))
return -EFAULT; return -EFAULT;
...@@ -1261,12 +1261,12 @@ static int bcm_char_ioctl_get_dsx_indication(void __user *argp, ...@@ -1261,12 +1261,12 @@ static int bcm_char_ioctl_get_dsx_indication(void __user *argp,
return -EINVAL; return -EINVAL;
} }
if (copy_from_user(&ulSFId, io_buff.InputBuffer, sizeof(ulSFId))) if (copy_from_user(&sf_id, io_buff.InputBuffer, sizeof(sf_id)))
return -EFAULT; return -EFAULT;
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
"Get DSX Data SF ID is =%lx\n", ulSFId); "Get DSX Data SF ID is =%lx\n", sf_id);
get_dsx_sf_data_to_application(ad, ulSFId, io_buff.OutputBuffer); get_dsx_sf_data_to_application(ad, sf_id, io_buff.OutputBuffer);
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment