From: Victor Fusco <[EMAIL PROTECTED]>
Fix the sparse warning "implicit cast to nocast type"
File/Subsystem:drivers/net/sungem.h
Signed-off-by: Victor Fusco <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
--
---
sungem.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: quilt/drivers/net/sungem.h
===================================================================
--- quilt.orig/drivers/net/sungem.h
+++ quilt/drivers/net/sungem.h
@@ -1035,7 +1035,7 @@ struct gem {
#define ALIGNED_RX_SKB_ADDR(addr) \
((((unsigned long)(addr) + (64UL - 1UL)) & ~(64UL - 1UL)) - (unsigned
long)(addr))
-static __inline__ struct sk_buff *gem_alloc_skb(int size, int gfp_flags)
+static __inline__ struct sk_buff *gem_alloc_skb(int size, unsigned int
__nocast gfp_flags)
{
struct sk_buff *skb = alloc_skb(size + 64, gfp_flags);
--
-
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