lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 8 Aug 2014 05:40:16 -0700 From: Avinash Patil <patila@...vell.com> To: Hans Wennborg <hans@...shq.net>, Amitkumar Karwar <akarwar@...vell.com>, "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: RE: [PATCH 07/15] mwifiex: fix decimal printf format specifiers prefixed with 0x Hi Hans, >The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Acked-by: Avinash Patil <patila@...vell.com> Thanks, Avinash. ________________________________________ From: linux-wireless-owner@...r.kernel.org [linux-wireless-owner@...r.kernel.org] On Behalf Of Hans Wennborg [hans@...shq.net] Sent: Wednesday, August 06, 2014 10:12 AM To: Amitkumar Karwar; linux-wireless@...r.kernel.org; linux-kernel@...r.kernel.org Cc: Hans Wennborg Subject: [PATCH 07/15] mwifiex: fix decimal printf format specifiers prefixed with 0x 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@...shq.net> --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index e2e6bf1..2856f0e 100644 --- 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%llu\n", + wiphy_dbg(wiphy, "info: ongoing ROC, cookie = 0x%llx\n", priv->roc_cfg.cookie); return -EBUSY; } -- 2.0.0.526.g5318336 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists