aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-10-03 01:42:11 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-03 22:01:14 -0400
commit0a1c80f1115b9a1aacf00a312a532ceef49dfa1b (patch)
tree6c6b10398deab02281bfa638d586decafa158757 /drivers/net
parentc2681dd8c71c8fb4ca530f94536550fcd843aae4 (diff)
[PATCH] ns83820: fix gfp flags type
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ns83820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c
index e64df4d0800b..1d123d2b53fd 100644
--- a/drivers/net/ns83820.c
+++ b/drivers/net/ns83820.c
@@ -584,7 +584,7 @@ static inline int ns83820_add_rx_skb(struct ns83820 *dev, struct sk_buff *skb)
584 return 0; 584 return 0;
585} 585}
586 586
587static inline int rx_refill(struct net_device *ndev, int gfp) 587static inline int rx_refill(struct net_device *ndev, unsigned int gfp)
588{ 588{
589 struct ns83820 *dev = PRIV(ndev); 589 struct ns83820 *dev = PRIV(ndev);
590 unsigned i; 590 unsigned i;