Commit d6f97d8e authored by Andi Kleen's avatar Andi Kleen Committed by Christoph Hellwig

[NET]: Make skbuff.h -W clean, skb_headlen should return unsigned quantity.

parent 5a5ca8c7
......@@ -777,7 +777,7 @@ static inline int skb_is_nonlinear(const struct sk_buff *skb)
return skb->data_len;
}
static inline int skb_headlen(const struct sk_buff *skb)
static inline unsigned int skb_headlen(const struct sk_buff *skb)
{
return skb->len - skb->data_len;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment