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

Staging: bcm: Bcmchar.c: Renamed variable: "uiData" -> "data"

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2955572e
...@@ -1156,12 +1156,12 @@ static int bcm_char_ioctl_qos_threshold(ULONG arg, ...@@ -1156,12 +1156,12 @@ static int bcm_char_ioctl_qos_threshold(ULONG arg,
static int bcm_char_ioctl_switch_transfer_mode(void __user *argp, static int bcm_char_ioctl_switch_transfer_mode(void __user *argp,
struct bcm_mini_adapter *ad) struct bcm_mini_adapter *ad)
{ {
UINT uiData = 0; UINT data = 0;
if (copy_from_user(&uiData, argp, sizeof(UINT))) if (copy_from_user(&data, argp, sizeof(UINT)))
return -EFAULT; return -EFAULT;
if (uiData) { if (data) {
/* Allow All Packets */ /* Allow All Packets */
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
"IOCTL_BCM_SWITCH_TRANSFER_MODE: ETH_PACKET_TUNNELING_MODE\n"); "IOCTL_BCM_SWITCH_TRANSFER_MODE: ETH_PACKET_TUNNELING_MODE\n");
......
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