From: "Németh Márton" <nm127@freemail.hu>
To: Johannes Berg <johannes@sipsolutions.net>,
Joe Jezak <josejx@gentoo.org>, Daniel Drake <dsd@gentoo.org>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] mac80211: fix printk() format string
Date: Sun, 28 Oct 2007 12:34:42 +0100 [thread overview]
Message-ID: <472473D2.8040102@freemail.hu> (raw)
From: Márton Németh <nm127@freemail.hu>
Get rid of the following compiler warning message:
net/mac80211/ieee80211_sta.c: In function 'ieee80211_rx_mgmt_assoc_resp':
net/mac80211/ieee80211_sta.c:1187: warning: format '%d' expects type 'int', but argument 7 has type 'long unsigned int'
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
--- linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c.orig 2007-10-24 05:50:57.000000000 +0200
+++ linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c 2007-10-28 11:20:23.000000000 +0100
@@ -1182,7 +1182,7 @@ static void ieee80211_rx_mgmt_assoc_resp
aid = le16_to_cpu(mgmt->u.assoc_resp.aid);
printk(KERN_DEBUG "%s: RX %sssocResp from %s (capab=0x%x "
- "status=%d aid=%d)\n",
+ "status=%d aid=%lu)\n",
dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa),
capab_info, status_code, aid & ~(BIT(15) | BIT(14)));
next reply other threads:[~2007-10-28 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-28 11:34 Németh Márton [this message]
2007-10-28 10:41 ` [PATCH] mac80211: fix printk() format string Johannes Berg
2007-10-28 10:45 ` Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=472473D2.8040102@freemail.hu \
--to=nm127@freemail.hu \
--cc=dsd@gentoo.org \
--cc=johannes@sipsolutions.net \
--cc=josejx@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox