Skip to content

Commit

Permalink
[PATCH] ns83820: fix gfp flags type
Browse files Browse the repository at this point in the history
Fix implicit nocast warnings in ns83820 code, including __nocast:
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>
  • Loading branch information
Randy Dunlap authored and Jeff Garzik committed Oct 4, 2005
1 parent f36a29d commit 81c5873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ns83820.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, unsigned int gfp)
static inline int rx_refill(struct net_device *ndev, unsigned int __nocast gfp)
{
struct ns83820 *dev = PRIV(ndev);
unsigned i;
Expand Down

0 comments on commit 81c5873

Please sign in to comment.