From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harvey Harrison Subject: [PATCH] net: make __skb_splice_bits static Date: Wed, 16 Jul 2008 12:51:20 -0700 Message-ID: <1216237880.28841.20.camel@brick> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-next , linux-netdev To: David Miller Return-path: Received: from qw-out-2122.google.com ([74.125.92.24]:15838 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758164AbYGPTvX (ORCPT ); Wed, 16 Jul 2008 15:51:23 -0400 Received: by qw-out-2122.google.com with SMTP id 3so376125qwe.37 for ; Wed, 16 Jul 2008 12:51:22 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: net/core/skbuff.c:1335:5: warning: symbol '__skb_splice_bits' was not declared. Should it be static? Signed-off-by: Harvey Harrison --- Appeared between next-20080715->next-20080716 net/core/skbuff.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 48a4372..e411567 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -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 * 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, struct splice_pipe_desc *spd) { -- 1.5.6.3.499.geae9