[NET]: Fix sparse warnings
From: Victor Fusco <victor@cetuc.puc-rio.br> Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
b03efcfb21
commit
86a76caf87
@@ -1613,7 +1613,7 @@ void tcp_send_fin(struct sock *sk)
|
||||
* was unread data in the receive queue. This behavior is recommended
|
||||
* by draft-ietf-tcpimpl-prob-03.txt section 3.10. -DaveM
|
||||
*/
|
||||
void tcp_send_active_reset(struct sock *sk, int priority)
|
||||
void tcp_send_active_reset(struct sock *sk, unsigned int __nocast priority)
|
||||
{
|
||||
struct tcp_sock *tp = tcp_sk(sk);
|
||||
struct sk_buff *skb;
|
||||
|
Reference in New Issue
Block a user