login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
23
Re: [PATCH 10/12] mac80211: fix warning created by BIT()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Randy Dunlap <rdunlap@...>
To: Jeff Garzik <jeff@...>
Cc: LKML <linux-kernel@...>, <akpm@...>, <linux-wireless@...>, <linville@...>
Subject:
Re: [PATCH 10/12] mac80211: fix warning created by BIT()
Date: Tuesday, October 23, 2007 - 7:15 pm
On Tue, 23 Oct 2007 18:36:45 -0400 (EDT) Jeff Garzik wrote:
quoted text
> Now that BIT() forces unsigned long, this warning appears: > > 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â
LC_ALL=C make ...
quoted text
> Signed-off-by: Jeff Garzik <jgarzik@redhat.com> > --- > > diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c > index f7ffeec..bdfd901 100644 > --- a/net/mac80211/ieee80211_sta.c > +++ b/net/mac80211/ieee80211_sta.c > @@ -1182,7 +1182,7 @@ static void ieee80211_rx_mgmt_assoc_resp(struct net_device *dev, > 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=%ld)\n", > dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa), > capab_info, status_code, aid & ~(BIT(15) | BIT(14))); > > -
Patch was submitted yesterday by Johannes Berg, but does need to be pushed by someone... (like this) --- ~Randy -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 10/12] mac80211: fix warning created by BIT()
, Jeff Garzik
, (Tue Oct 23, 6:36 pm)
Re: [PATCH 10/12] mac80211: fix warning created by BIT()
, Randy Dunlap
, (Tue Oct 23, 7:15 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andi Kleen
[PATCH x86] [0/16] Various i386/x86-64 changes
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
openbsd-misc
:
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
Arjan van de Ven
Re: [GIT]: Networking
Colocation donated by:
Who's online
There are currently
2 users
and
732 guests
online.
Online users
workfromhomebiz
garytall101
Syndicate