From: Randy Dunlap Date: Mon, 3 Oct 2005 05:42:11 +0000 (-0700) Subject: [PATCH] ns83820: fix gfp flags type X-Git-Tag: v2.6.14-rc4~69 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0a1c80f1115b9a1aacf00a312a532ceef49dfa1b;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c index e64df4d0800..1d123d2b53f 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) 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;