Commit 7b1c65fa authored by Harvey Harrison's avatar Harvey Harrison Committed by David S. Miller

net: make __skb_splice_bits static

net/core/skbuff.c:1335:5: warning: symbol '__skb_splice_bits' was not declared. Should it be static?
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 885a4c96
...@@ -1332,7 +1332,7 @@ static inline int __splice_segment(struct page *page, unsigned int poff, ...@@ -1332,7 +1332,7 @@ static inline int __splice_segment(struct page *page, unsigned int poff,
* Map linear and fragment data from the skb to spd. It reports failure if the * Map linear and fragment data from the skb to spd. It reports failure if the
* pipe is full or if we already spliced the requested length. * pipe is full or if we already spliced the requested length.
*/ */
int __skb_splice_bits(struct sk_buff *skb, unsigned int *offset, static int __skb_splice_bits(struct sk_buff *skb, unsigned int *offset,
unsigned int *len, unsigned int *len,
struct splice_pipe_desc *spd) struct splice_pipe_desc *spd)
{ {
......
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