projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c0604
)
mwifiex: fix decimal printf format specifiers prefixed with 0x
author
Hans Wennborg
<hans@hanshq.net>
Wed, 6 Aug 2014 04:42:55 +0000
(21:42 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 25 Aug 2014 20:17:29 +0000
(16:17 -0400)
The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.
Found by using regex suggested by Joe Perches.
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Acked-by: Avinash Patil <patila@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/cfg80211.c
b/drivers/net/wireless/mwifiex/cfg80211.c
index e2e6bf13c2d8c0858656f494c839da81d0731fa5..2856f0ecb8fc98f1906b0e4913ede484bebe981b 100644
(file)
--- a/
drivers/net/wireless/mwifiex/cfg80211.c
+++ b/
drivers/net/wireless/mwifiex/cfg80211.c
@@
-246,7
+246,7
@@
mwifiex_cfg80211_remain_on_channel(struct wiphy *wiphy,
}
if (priv->roc_cfg.cookie) {
- wiphy_dbg(wiphy, "info: ongoing ROC, cookie = 0x%ll
u
\n",
+ wiphy_dbg(wiphy, "info: ongoing ROC, cookie = 0x%ll
x
\n",
priv->roc_cfg.cookie);
return -EBUSY;
}