diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-10-04 00:41:22 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-04 05:29:48 -0400 |
commit | 832f8f0378ff1566f2a222352c7ad5df3f8d0d9d (patch) | |
tree | f7b42af2245acd767716bea1f5d2ec05666d99a6 /drivers | |
parent | 81c58732277654a51bb52832e1bc74234bb977bc (diff) | |
download | op-kernel-dev-832f8f0378ff1566f2a222352c7ad5df3f8d0d9d.zip op-kernel-dev-832f8f0378ff1566f2a222352c7ad5df3f8d0d9d.tar.gz |
[PATCH] sungem: fix gfp flags type
Fix nocast sparse warnings in sungen:
drivers/net/sungem.h:1040:45: warning: implicit cast to nocast type
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/sungem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h index ff8ae5f..16edbb1 100644 --- a/drivers/net/sungem.h +++ b/drivers/net/sungem.h @@ -1035,7 +1035,8 @@ 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); |