projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f36a29d
)
[PATCH] ns83820: fix gfp flags type
author
Randy Dunlap
<rdunlap@xenotime.net>
Tue, 4 Oct 2005 04:24:36 +0000
(21:24 -0700)
committer
Jeff Garzik
<jgarzik@pobox.com>
Tue, 4 Oct 2005 09:29:48 +0000
(
05:29
-0400)
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>
drivers/net/ns83820.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ns83820.c
b/drivers/net/ns83820.c
index 1d123d2b53fdfb34923a8e8d20c253c5834c95e3..83334db2921c98349bf737aeeee00c630b931d0f 100644
(file)
--- a/
drivers/net/ns83820.c
+++ b/
drivers/net/ns83820.c
@@
-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;