staging: rtl8192u: Fix checkpatch issue with comma in r819xU_firmware.c
authorFreeman Zhang <freeman.zhang1992@gmail.com>
Mon, 27 Jul 2015 06:37:25 +0000 (14:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:14:53 +0000 (16:14 -0700)
Add space after ',' to fix the error message provided by checkpatch.pl:
ERROR: space required after that ','

Signed-off-by: Freeman Zhang <freeman.zhang1992@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_firmware.c

index 742725e9bfc195da9e72e26cc8e786dec8f24b67..a7d30339390bf22bcb324b48da58ee4460d41e23 100644 (file)
@@ -91,7 +91,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
                if (!priv->ieee80211->check_nic_enough_desc(dev, index) ||
                       (!skb_queue_empty(&priv->ieee80211->skb_waitQ[index])) ||
                       (priv->ieee80211->queue_stop)) {
-                       RT_TRACE(COMP_FIRMWARE,"=====================================================> tx full!\n");
+                       RT_TRACE(COMP_FIRMWARE, "=====================================================> tx full!\n");
                        skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb);
                } else {
                        priv->ieee80211->softmac_hard_start_xmit(skb, dev);
@@ -242,7 +242,7 @@ bool init_firmware(struct net_device *dev)
                 * or read image file from array. Default load from IMG file
                 */
                if (rst_opt == OPT_SYSTEM_RESET) {
-                       rc = request_firmware(&fw_entry, fw_name[init_step],&priv->udev->dev);
+                       rc = request_firmware(&fw_entry, fw_name[init_step], &priv->udev->dev);
                        if (rc < 0) {
                                RT_TRACE(COMP_ERR, "request firmware fail!\n");
                                goto download_firmware_fail;
@@ -254,12 +254,12 @@ bool init_firmware(struct net_device *dev)
                        }
 
                        if (init_step != FW_INIT_STEP1_MAIN) {
-                               memcpy(pfirmware->firmware_buf,fw_entry->data,fw_entry->size);
+                               memcpy(pfirmware->firmware_buf, fw_entry->data, fw_entry->size);
                                mapped_file = pfirmware->firmware_buf;
                                file_length = fw_entry->size;
                        } else {
                                memset(pfirmware->firmware_buf, 0, 128);
-                               memcpy(&pfirmware->firmware_buf[128],fw_entry->data,fw_entry->size);
+                               memcpy(&pfirmware->firmware_buf[128], fw_entry->data, fw_entry->size);
                                mapped_file = pfirmware->firmware_buf;
                                file_length = fw_entry->size + 128;
                        }
@@ -319,7 +319,7 @@ bool init_firmware(struct net_device *dev)
 
                        rt_status = CPUcheck_firmware_ready(dev);
                        if (!rt_status) {
-                               RT_TRACE(COMP_ERR, "CPUcheck_firmware_ready fail(%d)!\n",rt_status);
+                               RT_TRACE(COMP_ERR, "CPUcheck_firmware_ready fail(%d)!\n", rt_status);
                                goto download_firmware_fail;
                        }