summaryrefslogtreecommitdiff
path: root/include/net/dn_route.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-10-05 09:41:48 +0400
committerDavid S. Miller <davem@davemloft.net>2005-10-05 09:41:48 +0400
commitf4a19a56e38442e434b8809915d756469f1e89a2 (patch)
treeb96445dc6aecdd303e6405cabd7c050eafdf12c8 /include/net/dn_route.h
parent17b698856328a42d5874ac87640e2cd84a824eef (diff)
downloadlinux-f4a19a56e38442e434b8809915d756469f1e89a2.tar.xz
[DECNET]: fix sparse gfp nocast warnings
Fix implicit nocast warnings in decnet code: net/decnet/af_decnet.c:458:40: warning: implicit cast to nocast type net/decnet/dn_nsp_out.c:125:35: warning: implicit cast to nocast type net/decnet/dn_nsp_out.c:219:29: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn_route.h')
-rw-r--r--include/net/dn_route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dn_route.h b/include/net/dn_route.h
index d084721db198..11fe973cf383 100644
--- a/include/net/dn_route.h
+++ b/include/net/dn_route.h
@@ -15,7 +15,7 @@
GNU General Public License for more details.
*******************************************************************************/
-extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, int pri);
+extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, unsigned int __nocast pri);
extern int dn_route_output_sock(struct dst_entry **pprt, struct flowi *, struct sock *sk, int flags);
extern int dn_cache_dump(struct sk_buff *skb, struct netlink_callback *cb);
extern int dn_cache_getroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg);