Staging: bcm: Bcmchar.c: Renamed variable: "uiData" -> "data"
authorMatthias Beyer <mail@beyermatthias.de>
Wed, 27 Aug 2014 10:57:50 +0000 (12:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:01:37 +0000 (13:01 -0700)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c

index 64dfc03bf418a3f5ca62856f00791eb0f7375eab..4ba8a7123c93f15528adb2ba5401c344e77be0c1 100644 (file)
@@ -1156,12 +1156,12 @@ static int bcm_char_ioctl_qos_threshold(ULONG arg,
 static int bcm_char_ioctl_switch_transfer_mode(void __user *argp,
                                               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;
 
-       if (uiData) {
+       if (data) {
                /* Allow All Packets */
                BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
                        "IOCTL_BCM_SWITCH_TRANSFER_MODE: ETH_PACKET_TUNNELING_MODE\n");