linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] mac80211: fix printk() format string
  2007-10-28 11:34 [PATCH] mac80211: fix printk() format string Németh Márton
@ 2007-10-28 10:41 ` Johannes Berg
  2007-10-28 10:45 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2007-10-28 10:41 UTC (permalink / raw)
  To: Németh Márton
  Cc: Joe Jezak, Daniel Drake, linux-wireless, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]



> 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'

a different fix is already applied.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mac80211: fix printk() format string
  2007-10-28 11:34 [PATCH] mac80211: fix printk() format string Németh Márton
  2007-10-28 10:41 ` Johannes Berg
@ 2007-10-28 10:45 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2007-10-28 10:45 UTC (permalink / raw)
  To: Németh Márton
  Cc: Johannes Berg, Joe Jezak, Daniel Drake, linux-wireless,
	linux-kernel

N=E9meth M=E1rton wrote:
> From: M=E1rton N=E9meth <nm127@freemail.hu>
>=20
> Get rid of the following compiler warning message:
>=20
> net/mac80211/ieee80211_sta.c: In function 'ieee80211_rx_mgmt_assoc_re=
sp':
> net/mac80211/ieee80211_sta.c:1187: warning: format '%d' expects type =
'int', but argument 7 has type 'long unsigned int'
>=20
> Signed-off-by: M=E1rton N=E9meth <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=
=2E000000000 +0100
> @@ -1182,7 +1182,7 @@ static void ieee80211_rx_mgmt_assoc_resp
>  	aid =3D le16_to_cpu(mgmt->u.assoc_resp.aid);
>=20
>  	printk(KERN_DEBUG "%s: RX %sssocResp from %s (capab=3D0x%x "
> -	       "status=3D%d aid=3D%d)\n",
> +	       "status=3D%d aid=3D%lu)\n",
>  	       dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa),
>  	       capab_info, status_code, aid & ~(BIT(15) | BIT(14)));

=46ix already went upstream...


-
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] mac80211: fix printk() format string
@ 2007-10-28 11:34 Németh Márton
  2007-10-28 10:41 ` Johannes Berg
  2007-10-28 10:45 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Németh Márton @ 2007-10-28 11:34 UTC (permalink / raw)
  To: Johannes Berg, Joe Jezak, Daniel Drake; +Cc: linux-wireless, linux-kernel

=46rom: M=E1rton N=E9meth <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 'i=
nt', but argument 7 has type 'long unsigned int'

Signed-off-by: M=E1rton N=E9meth <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.0=
00000000 +0100
@@ -1182,7 +1182,7 @@ static void ieee80211_rx_mgmt_assoc_resp
 	aid =3D le16_to_cpu(mgmt->u.assoc_resp.aid);

 	printk(KERN_DEBUG "%s: RX %sssocResp from %s (capab=3D0x%x "
-	       "status=3D%d aid=3D%d)\n",
+	       "status=3D%d aid=3D%lu)\n",
 	       dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa),
 	       capab_info, status_code, aid & ~(BIT(15) | BIT(14)));

-
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-28 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-28 11:34 [PATCH] mac80211: fix printk() format string Németh Márton
2007-10-28 10:41 ` Johannes Berg
2007-10-28 10:45 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).