linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtlwifi: rtl8821ae: Remove duplicate hex prefixes
@ 2015-02-23 12:05 Rasmus Villemoes
  2015-03-03 13:39 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Villemoes @ 2015-02-23 12:05 UTC (permalink / raw)
  To: Larry Finger, Chaoming Li, Kalle Valo
  Cc: Rasmus Villemoes, linux-wireless, netdev, linux-kernel

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

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
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(-)

diff --git a/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c b/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
index 8ec8200002c7..3aca53d9acfb 100644
--- a/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
@@ -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
-- 
2.1.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: rtlwifi: rtl8821ae: Remove duplicate hex prefixes
  2015-02-23 12:05 [PATCH] rtlwifi: rtl8821ae: Remove duplicate hex prefixes Rasmus Villemoes
@ 2015-03-03 13:39 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2015-03-03 13:39 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: Larry Finger, Chaoming Li, Rasmus Villemoes, linux-wireless,
	netdev, linux-kernel


> The # flag in %X means print a 0X prefix. Remove the extra 0x prefix.
> 
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-03 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 12:05 [PATCH] rtlwifi: rtl8821ae: Remove duplicate hex prefixes Rasmus Villemoes
2015-03-03 13:39 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).