staging: rtl8821ae: fix %d confusingly prefixed with 0x in format strings
authorHans Wennborg <hans@hanshq.net>
Mon, 4 Aug 2014 00:21:06 +0000 (17:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:11 +0000 (12:23 -0700)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/pci.c

index 26d7b2fc852a4f07a54db7dc7465ced58b7d4a70..b8187887d85f4aa4508173ca88ee75009d9227eb 100644 (file)
@@ -662,7 +662,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int prio)
                        RT_TRACE(COMP_ERR, DBG_LOUD,
                                        ("more desc left, wake"
                                         "skb_queue@%d,ring->idx = %d,"
-                                        "skb_queue_len = 0x%d\n",
+                                        "skb_queue_len = 0x%x\n",
                                         prio, ring->idx,
                                         skb_queue_len(&ring->queue)));
 
@@ -1650,7 +1650,7 @@ static int rtl_pci_tx(struct ieee80211_hw *hw,
                if ((own == 1) && (hw_queue != BEACON_QUEUE)) {
                        RT_TRACE(COMP_ERR, DBG_WARNING,
                                 ("No more TX desc@%d, ring->idx = %d,"
-                                 "idx = %d, skb_queue_len = 0x%d\n",
+                                 "idx = %d, skb_queue_len = 0x%x\n",
                                  hw_queue, ring->idx, idx,
                                  skb_queue_len(&ring->queue)));
 
@@ -1695,7 +1695,7 @@ static int rtl_pci_tx(struct ieee80211_hw *hw,
                RT_TRACE(COMP_ERR, DBG_LOUD,
                         ("less desc left, stop skb_queue@%d, "
                          "ring->idx = %d,"
-                         "idx = %d, skb_queue_len = 0x%d\n",
+                         "idx = %d, skb_queue_len = 0x%x\n",
                          hw_queue, ring->idx, idx,
                          skb_queue_len(&ring->queue)));
 
This page took 0.026554 seconds and 5 git commands to generate.