![]() | |||||||||||||
Messages in this thread
Patch in this message |
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â 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))); - 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/ | ||||||||||||
| Last update: 2007-10-24 00:45 [from the cache] ©2003-2008 | |||||||||||||