[PATCH] ieee80211: fix gfp flags type
authorRandy Dunlap <rdunlap@xenotime.net>
Tue, 4 Oct 2005 04:24:45 +0000 (21:24 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 4 Oct 2005 09:29:48 +0000 (05:29 -0400)
Fix implicit nocast warnings in ieee80211 code, including __nocast:
net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast type

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
net/ieee80211/ieee80211_tx.c

index f915367..ecdf9f7 100644 (file)
@@ -207,7 +207,7 @@ void ieee80211_txb_free(struct ieee80211_txb *txb)
 }
 
 static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
-                                                unsigned int gfp_mask)
+                                                unsigned int __nocast gfp_mask)
 {
        struct ieee80211_txb *txb;
        int i;