[NET]: Fix sparse warnings

From: Victor Fusco <[email protected]>

Fix the sparse warning "implicit cast to nocast type"

Signed-off-by: Victor Fusco <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Victor Fusco 2005-07-08 14:57:47 -07:00 • committed by David S. Miller
commit 86a76caf87
7 changed files with 50 additions and 32 deletions

View file

@ -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;