[DCCP]: Fix sparse warnings
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8649b0d416
commit
a1d3a35518
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user