rtlwifi: Add missing newlines to RT_TRACE calls
authorJoe Perches <joe@perches.com>
Sun, 26 Jun 2016 19:34:30 +0000 (12:34 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 09:58:38 +0000 (12:58 +0300)
RT_TRACE does not add a newline to the end of a message and always
emits at KERN_DEBUG so these are susceptible to message interleaving
from other processes without the newline.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
33 files changed:
drivers/net/wireless/realtek/rtlwifi/core.c
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c

index 3a0faa8fe9d46deef63514afeba5dbbb9ecd7d14..41f77f8a309e751be975a4ed2abdccc61fd6dc10 100644 (file)
@@ -526,7 +526,7 @@ static void _rtl_add_wowlan_patterns(struct ieee80211_hw *hw,
                /* 3. calculate crc */
                rtl_pattern.crc = _calculate_wol_pattern_crc(content, len);
                RT_TRACE(rtlpriv, COMP_POWER, DBG_TRACE,
-                        "CRC_Remainder = 0x%x", rtl_pattern.crc);
+                        "CRC_Remainder = 0x%x\n", rtl_pattern.crc);
 
                /* 4. write crc & mask_for_hw to hw */
                rtlpriv->cfg->ops->add_wowlan_pattern(hw, &rtl_pattern, i);
index e26a233684bb89ff78931a30b9ba3e4a3c60f962..cfdf6d84d4862b8d6c0aa07c6fff9ffffcdcb57e 100644 (file)
@@ -1846,12 +1846,12 @@ static void _rtl88ee_read_adapter_info(struct ieee80211_hw *hw)
 
        case EEPROM_93C46:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "RTL819X Not boot from eeprom, check it !!");
+                        "RTL819X Not boot from eeprom, check it !!\n");
                return;
 
        default:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "boot from neither eeprom nor efuse, check it !!");
+                        "boot from neither eeprom nor efuse, check it !!\n");
                return;
        }
        memcpy(hwinfo, &rtlefuse->efuse_map[EFUSE_INIT_MAP][0], HWSET_MAX_SIZE);
index 416a9ba6382e8040875ee742cd942335c149a2e6..1d034a146276309641bfd2c22fb2525531e2d0ca 100644 (file)
@@ -373,7 +373,7 @@ static bool _rtl88e_phy_bb8188e_config_parafile(struct ieee80211_hw *hw)
 
        rtstatus = phy_config_bb_with_headerfile(hw, BASEBAND_CONFIG_PHY_REG);
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!\n");
                return false;
        }
 
@@ -383,7 +383,7 @@ static bool _rtl88e_phy_bb8188e_config_parafile(struct ieee80211_hw *hw)
                  phy_config_bb_with_pghdr(hw, BASEBAND_CONFIG_PHY_REG);
        }
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!\n");
                return false;
        }
        rtstatus =
index 40893cef7dfe3a9df44483db9d3e60cb42f8ef54..26ac4c2903c7373e299be867ce867f9d842d17d8 100644 (file)
@@ -498,7 +498,7 @@ static bool _rtl88e_phy_rf6052_config_parafile(struct ieee80211_hw *hw)
 
                if (rtstatus != true) {
                        RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                "Radio[%d] Fail!!", rfpath);
+                                "Radio[%d] Fail!!\n", rfpath);
                        return false;
                }
 
index 1016ad43381304369f34ab5ae5324266abdc926c..3e3b88664883cb0b88b009dc04bc6bc6244d32e3 100644 (file)
@@ -540,7 +540,7 @@ void rtl88ee_tx_fill_desc(struct ieee80211_hw *hw,
                                 PCI_DMA_TODEVICE);
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, sizeof(struct tx_desc_88e));
@@ -703,7 +703,7 @@ void rtl88ee_tx_fill_cmddesc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, TX_DESC_SIZE);
index 24162e055c25ebbe4ddc7aa11537cb9a79ec32ba..56f2cecb0262efb91b9e635023be8167b54ea423 100644 (file)
@@ -213,7 +213,7 @@ bool _rtl92c_phy_bb8192c_config_parafile(struct ieee80211_hw *hw)
        rtstatus = rtlpriv->cfg->ops->config_bb_with_headerfile(hw,
                                                 BASEBAND_CONFIG_PHY_REG);
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!\n");
                return false;
        }
        if (rtlphy->rf_type == RF_1T2R) {
@@ -226,7 +226,7 @@ bool _rtl92c_phy_bb8192c_config_parafile(struct ieee80211_hw *hw)
                                                   BASEBAND_CONFIG_PHY_REG);
        }
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!\n");
                return false;
        }
        rtstatus = rtlpriv->cfg->ops->config_bb_with_headerfile(hw,
index 58b7ac6899ef180598711ddd3523f2999eddc4d5..809a0215b4a0f0e476e621948eba227b27e2080d 100644 (file)
@@ -1692,7 +1692,7 @@ static void _rtl92ce_read_adapter_info(struct ieee80211_hw *hw)
 
        case EEPROM_93C46:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "RTL819X Not boot from eeprom, check it !!");
+                        "RTL819X Not boot from eeprom, check it !!\n");
                return;
 
        default:
index 93d3fba4f6030c9dabdf8dd9a4dea9518c5c0e8e..781af1b99eb5f77c1124d8534e25a0be596fb665 100644 (file)
@@ -449,7 +449,7 @@ void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        rcu_read_lock();
@@ -615,7 +615,7 @@ void rtl92ce_tx_fill_cmddesc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, TX_DESC_SIZE);
index 5624ade92cc047b7891d9de3e081e2e4c51596df..ec2ea56f7933162b1d131f0b251a36e3bb2470fa 100644 (file)
@@ -465,7 +465,7 @@ static bool _rtl92c_phy_rf6052_config_parafile(struct ieee80211_hw *hw)
                }
                if (!rtstatus) {
                        RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                "Radio[%d] Fail!!", rfpath);
+                                "Radio[%d] Fail!!\n", rfpath);
                        goto phy_rf_cfg_fail;
                }
        }
index 6a6ac540d5b505edf81bb34ee93e9effdd664230..2f479d3976445fba66736ce4dffa2f332754cbd9 100644 (file)
@@ -601,7 +601,7 @@ bool rtl92d_phy_rf6052_config(struct ieee80211_hw *hw)
                }
                if (!rtstatus) {
                        RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                "Radio[%d] Fail!!", rfpath);
+                                "Radio[%d] Fail!!\n", rfpath);
                        goto phy_rf_cfg_fail;
                }
 
index 274b0e42ef41a53acbfca40e67f91cb30d8d22fe..e998e98d74cb220f981abcff483f664f13b313bc 100644 (file)
@@ -586,7 +586,7 @@ void rtl92de_tx_fill_desc(struct ieee80211_hw *hw,
                                 PCI_DMA_TODEVICE);
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, sizeof(struct tx_desc_92d));
@@ -744,7 +744,7 @@ void rtl92de_tx_fill_cmddesc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, TX_DESC_SIZE);
index 46efba032bd143eac939a008674cb61391ac38c8..a56a3daf95e1ac6a104a42fce288136b1a8a0fea 100644 (file)
@@ -983,7 +983,7 @@ static bool _rtl92ee_dm_ra_state_check(struct ieee80211_hw *hw,
                break;
        default:
                RT_TRACE(rtlpriv, COMP_RATR, DBG_DMESG,
-                        "wrong rssi level setting %d !", *ratr_state);
+                        "wrong rssi level setting %d !\n", *ratr_state);
                break;
        }
 
index 28c260dd11ea865b6bba2ae559f2140dc086d6c9..9d1ecbacb41d5b28939e7f2a4bdf16fb996606d0 100644 (file)
@@ -2109,12 +2109,12 @@ static void _rtl92ee_read_adapter_info(struct ieee80211_hw *hw)
 
        case EEPROM_93C46:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "RTL819X Not boot from eeprom, check it !!");
+                        "RTL819X Not boot from eeprom, check it !!\n");
                return;
 
        default:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "boot from neither eeprom nor efuse, check it !!");
+                        "boot from neither eeprom nor efuse, check it !!\n");
                return;
        }
        memcpy(hwinfo, &rtlefuse->efuse_map[EFUSE_INIT_MAP][0], HWSET_MAX_SIZE);
index b7184f5e2698d05b18afeeb725349c432db145c3..d678bf7ace9039f2f249d25a5f7f2b0ac81e08f1 100644 (file)
@@ -650,7 +650,7 @@ static bool _rtl92ee_phy_bb8192ee_config_parafile(struct ieee80211_hw *hw)
 
        rtstatus = phy_config_bb_with_hdr_file(hw, BASEBAND_CONFIG_PHY_REG);
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!\n");
                return false;
        }
 
@@ -662,7 +662,7 @@ static bool _rtl92ee_phy_bb8192ee_config_parafile(struct ieee80211_hw *hw)
        }
        _rtl92ee_phy_txpower_by_rate_configuration(hw);
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!\n");
                return false;
        }
        rtstatus = phy_config_bb_with_hdr_file(hw, BASEBAND_CONFIG_AGC_TAB);
index c9bc33cd109002b151a6bab65aea74959a10e924..73716c07d43313e92c0a1717c1b0ac222a8e4369 100644 (file)
@@ -142,7 +142,7 @@ static bool _rtl92ee_phy_rf6052_config_parafile(struct ieee80211_hw *hw)
 
                if (!rtstatus) {
                        RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                "Radio[%d] Fail!!", rfpath);
+                                "Radio[%d] Fail!!\n", rfpath);
                        return false;
                }
        }
index 582b1fa7f3c515e681512f642d73c4cefd70c317..2d48ccd02ac85da1b056fe7199656f3f6f71071f 100644 (file)
@@ -703,7 +703,7 @@ void rtl92ee_tx_fill_desc(struct ieee80211_hw *hw,
                                 PCI_DMA_TODEVICE);
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
 
@@ -867,7 +867,7 @@ void rtl92ee_tx_fill_cmddesc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, txdesc_len);
index 442f2b68ee58828c0fc189179968609483c5e416..ddfa0aee5bf88bd7d90ffbdf5026196261ed9184 100644 (file)
@@ -2003,7 +2003,7 @@ static void _rtl92se_read_adapter_info(struct ieee80211_hw *hw)
        rtlefuse->b1ss_support = rtlefuse->b1x1_recvcombine;
        rtlefuse->eeprom_oemid = *&hwinfo[EEPROM_CUSTOMID];
 
-       RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "EEPROM Customer ID: 0x%2x",
+       RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "EEPROM Customer ID: 0x%2x\n",
                 rtlefuse->eeprom_oemid);
 
        /* set channel paln to world wide 13 */
index 125b29bd2f93741a4c1baccdbeaa7e020c9094ef..d53bbf6bef818d54a7d024604dcc9f1a69432550 100644 (file)
@@ -360,7 +360,7 @@ void rtl92se_tx_fill_desc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        if (mac->opmode == NL80211_IFTYPE_STATION) {
@@ -529,7 +529,7 @@ void rtl92se_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        /* Clear all status     */
index 3900e106de31a74036caf7a7e5f6fbaaf7425d08..42a6fba90ba9144bbcd60764c1fb7283034633cc 100644 (file)
@@ -876,8 +876,8 @@ void rtl8723e_dm_bt_coexist(struct ieee80211_hw *hw)
 
        tmp_byte = rtl_read_byte(rtlpriv, 0x40);
        RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
-                "[DM][BT], 0x40 is 0x%x", tmp_byte);
+                "[DM][BT], 0x40 is 0x%x\n", tmp_byte);
        RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_DMESG,
-                "[DM][BT], bt_dm_coexist start");
+                "[DM][BT], bt_dm_coexist start\n");
        rtl8723e_dm_bt_coexist_8723(hw);
 }
index 44de695dc9992bdc869bff48110f8443dd395e34..ec9bcf32f0ab28ae1d8253d652b45062fb7d55fc 100644 (file)
@@ -185,7 +185,7 @@ static void rtl8723e_dm_bt_set_hw_pta_mode(struct ieee80211_hw *hw, bool b_mode)
        struct rtl_priv *rtlpriv = rtl_priv(hw);
 
        if (BT_PTA_MODE_ON == b_mode) {
-               RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_TRACE, "PTA mode on");
+               RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_TRACE, "PTA mode on\n");
                /*  Enable GPIO 0/1/2/3/8 pins for bt */
                rtl_write_byte(rtlpriv, 0x40, 0x20);
                rtlpriv->btcoexist.hw_coexist_all_off = false;
@@ -1401,7 +1401,7 @@ static void rtl8723e_dm_bt_inq_page_monitor(struct ieee80211_hw *hw)
                        (long)hal_coex_8723.bt_inq_page_start_time) / HZ)
                        >= 10) {
                        RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_DMESG,
-                               "[BTCoex], BT Inquiry/page >= 10sec!!!");
+                               "[BTCoex], BT Inquiry/page >= 10sec!!!\n");
                        hal_coex_8723.bt_inq_page_start_time = 0;
                        rtlpriv->btcoexist.cstate &=
                                ~BT_COEX_STATE_BT_INQ_PAGE;
index 57a1ba8822b1617187935fb4b40ead3aedf5d6e8..0025e2134c2e1abd599eb3aced779cf28d82708c 100644 (file)
@@ -1645,7 +1645,7 @@ static void _rtl8723e_read_adapter_info(struct ieee80211_hw *hw,
 
        case EEPROM_93C46:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "RTL819X Not boot from eeprom, check it !!");
+                        "RTL819X Not boot from eeprom, check it !!\n");
                return;
 
        default:
index d367097f490bcee04c1ab2d5fcb6eb97f7bf07ff..af07e00d75a6ef35ef0ad0322b06c1afaf50eb43 100644 (file)
@@ -213,7 +213,7 @@ static bool _rtl8723e_phy_bb8192c_config_parafile(struct ieee80211_hw *hw)
        rtstatus = _rtl8723e_phy_config_bb_with_headerfile(hw,
                                                BASEBAND_CONFIG_PHY_REG);
        if (rtstatus != true) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!\n");
                return false;
        }
 
@@ -227,7 +227,7 @@ static bool _rtl8723e_phy_bb8192c_config_parafile(struct ieee80211_hw *hw)
                                        BASEBAND_CONFIG_PHY_REG);
        }
        if (rtstatus != true) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!\n");
                return false;
        }
        rtstatus =
index 9ebc8281ff99bdd2708410b10683b043d8537151..422771778e031648254a29627f741f97fb5f4483 100644 (file)
@@ -504,7 +504,7 @@ static bool _rtl8723e_phy_rf6052_config_parafile(struct ieee80211_hw *hw)
 
                if (rtstatus != true) {
                        RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                "Radio[%d] Fail!!", rfpath);
+                                "Radio[%d] Fail!!\n", rfpath);
                        return false;
                }
        }
index 7b4a9b63583b64b4b1f049676b4d4db7523c16df..e93125ebed812af0afab94e40f1fdf3bf1c9a9b2 100644 (file)
@@ -389,7 +389,7 @@ void rtl8723e_tx_fill_desc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        if (mac->opmode == NL80211_IFTYPE_STATION) {
@@ -557,7 +557,7 @@ void rtl8723e_tx_fill_cmddesc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, TX_DESC_SIZE);
index 08288ac9020ab58a14be0f0a85e7e2c1cf92d211..63b0df680717b936a26e0a7a0079fcd81a37a875 100644 (file)
@@ -2064,7 +2064,7 @@ static void _rtl8723be_read_adapter_info(struct ieee80211_hw *hw,
 
        case EEPROM_93C46:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "RTL819X Not boot from eeprom, check it !!");
+                        "RTL819X Not boot from eeprom, check it !!\n");
                return;
 
        default:
index aa2e670d6beeb8fda7d7cb15776937a0ca2d9167..b2b313aceb3f5dd090ee6f0ef3ea545f36d82502 100644 (file)
@@ -467,7 +467,7 @@ static bool _rtl8723be_phy_bb8723b_config_parafile(struct ieee80211_hw *hw)
        rtstatus = _rtl8723be_phy_config_bb_with_headerfile(hw,
                                                BASEBAND_CONFIG_PHY_REG);
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!\n");
                return false;
        }
        _rtl8723be_phy_init_tx_power_by_rate(hw);
@@ -478,7 +478,7 @@ static bool _rtl8723be_phy_bb8723b_config_parafile(struct ieee80211_hw *hw)
        }
        phy_txpower_by_rate_config(hw);
        if (!rtstatus) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!\n");
                return false;
        }
        rtstatus = _rtl8723be_phy_config_bb_with_headerfile(hw,
index 97f5a0377e7a05f38cd1211646fa75d514a61992..78f4f18d87b501ca7ce1e678d7ea806823ee0a26 100644 (file)
@@ -502,7 +502,7 @@ static bool _rtl8723be_phy_rf6052_config_parafile(struct ieee80211_hw *hw)
 
                if (!rtstatus) {
                        RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                "Radio[%d] Fail!!", rfpath);
+                                "Radio[%d] Fail!!\n", rfpath);
                        return false;
                }
        }
index e881ef8ab27bf5db5db94e2d60c48c6e51c39dad..2175aecbb8f4173145adf10f058cc6308ed0a4fa 100644 (file)
@@ -464,7 +464,7 @@ void rtl8723be_tx_fill_desc(struct ieee80211_hw *hw,
        mapping = pci_map_single(rtlpci->pdev, skb->data, skb->len,
                                 PCI_DMA_TODEVICE);
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
-               RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, "DMA mapping error");
+               RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE, "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, sizeof(struct tx_desc_8723be));
@@ -616,7 +616,7 @@ void rtl8723be_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, TX_DESC_SIZE);
index 03e08cb74184ca0acd80024895edcbf2ee439239..bdfd444955d25dad39ec4faa2f3d518b8a07e351 100644 (file)
@@ -843,7 +843,7 @@ static void rtl8821ae_dm_dig(struct ieee80211_hw *hw)
                                dm_digtable->rssi_val_min + offset;
 
                RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
-                        "dm_digtable->rssi_val_min=0x%x,dm_digtable->rx_gain_max = 0x%x",
+                        "dm_digtable->rssi_val_min=0x%x,dm_digtable->rx_gain_max = 0x%x\n",
                         dm_digtable->rssi_val_min,
                         dm_digtable->rx_gain_max);
                if (rtlpriv->dm.one_entry_only) {
@@ -2682,9 +2682,9 @@ static void rtl8821ae_dm_check_edca_turbo(struct ieee80211_hw *hw)
        bool b_edca_turbo_on = false;
 
        RT_TRACE(rtlpriv, COMP_TURBO, DBG_LOUD,
-                "rtl8821ae_dm_check_edca_turbo=====>");
+                "rtl8821ae_dm_check_edca_turbo=====>\n");
        RT_TRACE(rtlpriv, COMP_TURBO, DBG_LOUD,
-                "Orginial BE PARAM: 0x%x\n",
+                "Original BE PARAM: 0x%x\n",
                 rtl_read_dword(rtlpriv, DM_REG_EDCA_BE_11N));
 
        if (rtlpriv->dm.dbginfo.num_non_be_pkt > 0x100)
index b9436df9e1eca40b91019acc6a801cfbec7cc2bf..ac8836b4bb35e721fc1dde7b4a2b2185a4461d42 100644 (file)
@@ -3117,7 +3117,7 @@ static void _rtl8821ae_read_adapter_info(struct ieee80211_hw *hw, bool b_pseudo_
 
        case EEPROM_93C46:
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "RTL819X Not boot from eeprom, check it !!");
+                        "RTL819X Not boot from eeprom, check it !!\n");
                return;
 
        default:
@@ -3140,7 +3140,7 @@ static void _rtl8821ae_read_adapter_info(struct ieee80211_hw *hw, bool b_pseudo_
 
        if (rtlefuse->autoload_failflag) {
                RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
-                        "RTL8812AE autoload_failflag, check it !!");
+                        "RTL8812AE autoload_failflag, check it !!\n");
                return;
        }
 
@@ -3836,7 +3836,7 @@ void rtl8821ae_update_hal_rate_tbl(struct ieee80211_hw *hw,
                rtl8821ae_update_hal_rate_mask(hw, sta, rssi_level);
        else
                /*RT_TRACE(rtlpriv, COMP_RATR,DBG_LOUD,
-                          "rtl8821ae_update_hal_rate_tbl() Error! 8821ae FW RA Only");*/
+                          "rtl8821ae_update_hal_rate_tbl() Error! 8821ae FW RA Only\n");*/
                rtl8821ae_update_hal_rate_table(hw, sta);
 }
 
index 46ea4f840ab100334302c1bcb56771269d50e3fd..a71bfe38e7e163624201eb3c9da4bc383785171a 100644 (file)
@@ -581,7 +581,7 @@ void rtl8821ae_phy_switch_wirelessband(struct ieee80211_hw *hw, u8 band)
                count = 0;
                reg_41a = rtl_read_word(rtlpriv, REG_TXPKT_EMPTY);
                RT_TRACE(rtlpriv, COMP_SCAN, DBG_LOUD,
-                        "Reg41A value %d", reg_41a);
+                        "Reg41A value %d\n", reg_41a);
                reg_41a &= 0x30;
                while ((reg_41a != 0x30) && (count < 50)) {
                        udelay(50);
@@ -591,7 +591,7 @@ void rtl8821ae_phy_switch_wirelessband(struct ieee80211_hw *hw, u8 band)
                        reg_41a &= 0x30;
                        count++;
                        RT_TRACE(rtlpriv, COMP_SCAN, DBG_LOUD,
-                                "Reg41A value %d", reg_41a);
+                                "Reg41A value %d\n", reg_41a);
                }
                if (count != 0)
                        RT_TRACE(rtlpriv, COMP_MLME, DBG_LOUD,
@@ -1013,7 +1013,7 @@ static void _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit(struct ieee8
                                                                        rtlphy->txpwr_limit_5g[regulation][bw][3][channel][RF90_PATH_A];
                                                        }
 
-                                                       RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "use other value %d", temp_pwrlmt);
+                                                       RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "use other value %d\n", temp_pwrlmt);
                                                }
                                        }
                                }
@@ -1482,12 +1482,12 @@ static s8 _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt(struct ieee80211_hw *hw,
                                channel_index = i;
                }
        } else
-               RT_TRACE(rtlpriv, COMP_POWER, DBG_LOUD, "Invalid Band %d in %s",
+               RT_TRACE(rtlpriv, COMP_POWER, DBG_LOUD, "Invalid Band %d in %s\n",
                         band,  __func__);
 
        if (channel_index == -1)
                RT_TRACE(rtlpriv, COMP_POWER, DBG_LOUD,
-                        "Invalid Channel %d of Band %d in %s", channel,
+                        "Invalid Channel %d of Band %d in %s\n", channel,
                         band, __func__);
 
        return channel_index;
@@ -1665,7 +1665,7 @@ static bool _rtl8821ae_phy_bb8821a_config_parafile(struct ieee80211_hw *hw)
        rtstatus = _rtl8821ae_phy_config_bb_with_headerfile(hw,
                                                       BASEBAND_CONFIG_PHY_REG);
        if (rtstatus != true) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Write BB Reg Fail!!\n");
                return false;
        }
        _rtl8821ae_phy_init_tx_power_by_rate(hw);
@@ -1674,7 +1674,7 @@ static bool _rtl8821ae_phy_bb8821a_config_parafile(struct ieee80211_hw *hw)
                                                    BASEBAND_CONFIG_PHY_REG);
        }
        if (rtstatus != true) {
-               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!");
+               RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "BB_PG Reg Fail!!\n");
                return false;
        }
 
index 2922538160e5c568efbd01b1de801cf5525961bd..c6ab957023e6357f4f677f61111381d756ca12f9 100644 (file)
@@ -454,7 +454,7 @@ static bool _rtl8821ae_phy_rf6052_config_parafile(struct ieee80211_hw *hw)
 
                if (!rtstatus) {
                        RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                "Radio[%d] Fail!!", rfpath);
+                                "Radio[%d] Fail!!\n", rfpath);
                        return false;
                }
        }
index 8c2a5e21308e724594bbd6c4a152b065b9567814..27727186ba5f0fe07d188bbd48d7055750b531bc 100644 (file)
@@ -716,7 +716,7 @@ void rtl8821ae_tx_fill_desc(struct ieee80211_hw *hw,
                                 PCI_DMA_TODEVICE);
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, sizeof(struct tx_desc_8821ae));
@@ -857,7 +857,7 @@ void rtl8821ae_tx_fill_cmddesc(struct ieee80211_hw *hw,
 
        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "DMA mapping error\n");
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, TX_DESC_SIZE);