Re: [PATCH] mac80211: fix printk() format string

2007-10-28 Thread Jeff Garzik

Németh Márton wrote:

From: Márton Németh <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
---
--- linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c.orig  2007-10-24 
05:50:57.0 +0200
+++ linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c   2007-10-28 
11:20:23.0 +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...


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] mac80211: fix printk() format string

2007-10-28 Thread Johannes Berg


> 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


signature.asc
Description: This is a digitally signed message part


[PATCH] mac80211: fix printk() format string

2007-10-28 Thread Németh Márton
From: Márton Németh <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
---
--- linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c.orig  2007-10-24 
05:50:57.0 +0200
+++ linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c   2007-10-28 
11:20:23.0 +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)));

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] mac80211: fix printk() format string

2007-10-28 Thread Németh Márton
From: Márton Németh [EMAIL PROTECTED]

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 [EMAIL PROTECTED]
---
--- linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c.orig  2007-10-24 
05:50:57.0 +0200
+++ linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c   2007-10-28 
11:20:23.0 +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)));

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] mac80211: fix printk() format string

2007-10-28 Thread Johannes Berg


 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


signature.asc
Description: This is a digitally signed message part


Re: [PATCH] mac80211: fix printk() format string

2007-10-28 Thread Jeff Garzik

Németh Márton wrote:

From: Márton Németh [EMAIL PROTECTED]

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 [EMAIL PROTECTED]
---
--- linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c.orig  2007-10-24 
05:50:57.0 +0200
+++ linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c   2007-10-28 
11:20:23.0 +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...


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/