login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
28
Re: [PATCH] mac80211: fix printk() format string
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeff Garzik <jeff@...>
To: Németh Márton <nm127@...>
Cc: Johannes Berg <johannes@...>, Joe Jezak <josejx@...>, Daniel Drake <dsd@...>, <linux-wireless@...>, <linux-kernel@...>
Subject:
Re: [PATCH] mac80211: fix printk() format string
Date: Sunday, October 28, 2007 - 6:45 am
Németh Márton wrote:
quoted text
> 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)));
Fix already went upstream... -
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] mac80211: fix printk() format string
, Németh Márton
, (Sun Oct 28, 7:34 am)
Re: [PATCH] mac80211: fix printk() format string
, Jeff Garzik
, (Sun Oct 28, 6:45 am)
Re: [PATCH] mac80211: fix printk() format string
, Johannes Berg
, (Sun Oct 28, 6:41 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Announce: Linux-next (Or Andrew's dream :-))
Greg KH
[patch 26/73] NET: Correct two mistaken skb_reset_mac_header() conversions.
Greg Kroah-Hartman
[PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Alexey Dobriyan
Re: [GIT]: Networking
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Andrew Morton
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
1098 guests
online.
Online users
juliajohnson
zeekec
strcmp
ffjfjsdkksksksk
digitalcable
tommyconnery
Syndicate