[PATCH] ns83820: fix gfp flags type
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 3 Oct 2005 05:42:11 +0000 (22:42 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 4 Oct 2005 02:01:14 +0000 (22:01 -0400)
Fix implicit nocast warnings in ns83820 code:
drivers/net/ns83820.c:603:46: warning: implicit cast to nocast type

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

index e64df4d0800b2a1802f5e350871f62f5ad58d85f..1d123d2b53fdfb34923a8e8d20c253c5834c95e3 100644 (file)
@@ -584,7 +584,7 @@ static inline int ns83820_add_rx_skb(struct ns83820 *dev, struct sk_buff *skb)
        return 0;
 }
 
-static inline int rx_refill(struct net_device *ndev, int gfp)
+static inline int rx_refill(struct net_device *ndev, unsigned int gfp)
 {
        struct ns83820 *dev = PRIV(ndev);
        unsigned i;