Skip to contentSkip to conversation

rtlwifi: rtl8821ae: Remove duplicate hex prefixes

PATCH Applied Rasmus Villemoes 2 participants 2 messages Feb 23, 2015 – Mar 3, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtlwifi: rtl8821ae: Remove duplicate hex prefixes

The # flag in %X means print a 0X prefix. Remove the extra 0x prefix.

---
The file uses a mix of explicit 0x prefixes and # flags, as well as a mix of %x and %X, so it's not clear what the most consistent choice would be.

 drivers/net/wireless/rtlwifi/rtl8821ae/hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/rtlwifi/rtl8821ae/hw.c +1 -1
index 8ec8200002c7..3aca53d9acfb 100644
@@ -1515,7 +1515,7 @@ static bool _rtl8821ae_dynamic_rqpn(struct ieee80211_hw *hw, u32 boundary,
 				      (u8 *)(&support_remote_wakeup));
 
 	RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
-		 "boundary=0x%#X, NPQ_RQPNValue=0x%#X, RQPNValue=0x%#X\n",
+		 "boundary=%#X, NPQ_RQPNValue=%#X, RQPNValue=%#X\n",
 		  boundary, npq_rqpn_value, rqpn_val);
 
 	/* stop PCIe DMA
Signature · 1 line
2.1.3