forked from luck/tmp_suning_uos_patched
[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>
This commit is contained in:
parent
c2681dd8c7
commit
0a1c80f111
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user