From: Victor Fusco <[EMAIL PROTECTED]>

Fix the sparse warning "implicit cast to nocast type"

File/Subsystem:drivers/net/ns83820.c

Signed-off-by: Victor Fusco <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>

--

---
 ns83820.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: quilt/drivers/net/ns83820.c
===================================================================
--- quilt.orig/drivers/net/ns83820.c
+++ quilt/drivers/net/ns83820.c
@@ -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;

--
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to