summaryrefslogtreecommitdiff
path: root/net/dccp/options.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-13 22:42:25 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 15:59:59 -0700
commita1d3a35518779df0579dd9de0121354b49c68ddc (patch)
tree1d99d52393b5eb2d46e306cecbaf86547cafbc6a /net/dccp/options.c
parent8649b0d4166e6e80ffa298e75abd8f2afdd491a6 (diff)
downloadlinux-3.10-a1d3a35518779df0579dd9de0121354b49c68ddc.tar.gz
linux-3.10-a1d3a35518779df0579dd9de0121354b49c68ddc.tar.bz2
linux-3.10-a1d3a35518779df0579dd9de0121354b49c68ddc.zip
[DCCP]: Fix sparse warnings
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r--net/dccp/options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c
index fc363aaeeda..d87d6be7ab1 100644
--- a/net/dccp/options.c
+++ b/net/dccp/options.c
@@ -499,7 +499,8 @@ void dccp_insert_options(struct sock *sk, struct sk_buff *skb)
}
}
-struct dccp_ackpkts *dccp_ackpkts_alloc(unsigned int len, int priority)
+struct dccp_ackpkts *dccp_ackpkts_alloc(const unsigned int len,
+ const unsigned int __nocast priority)
{
struct dccp_ackpkts *ap = kmalloc(sizeof(*ap) + len, priority);