[PATCH] ns83820: fix "nocast type" warnings From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Alexey Dobriyan Index: linux-kj/drivers/net/ns83820.c =================================================================== --- linux-kj.orig/drivers/net/ns83820.c 2005-09-21 01:38:58.000000000 +0400 +++ linux-kj/drivers/net/ns83820.c 2005-09-21 01:39:14.000000000 +0400 @@ -585,7 +585,7 @@ static inline int ns83820_add_rx_skb(str return 0; } -static inline int rx_refill(struct net_device *ndev, int gfp) +static inline int rx_refill(struct net_device *ndev, unsigned int __nocast gfp) { struct ns83820 *dev = PRIV(ndev); unsigned i;