netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: make __skb_splice_bits static
@ 2008-07-16 19:51 Harvey Harrison
  2008-07-17  3:12 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-07-16 19:51 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, linux-netdev

net/core/skbuff.c:1335:5: warning: symbol '__skb_splice_bits' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: make __skb_splice_bits static
  2008-07-16 19:51 [PATCH] net: make __skb_splice_bits static Harvey Harrison
@ 2008-07-17  3:12 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-07-17  3:12 UTC (permalink / raw)
  To: harvey.harrison; +Cc: linux-next, netdev

From: Harvey Harrison <harvey.harrison@gmail.com>
Date: Wed, 16 Jul 2008 12:51:20 -0700

> net/core/skbuff.c:1335:5: warning: symbol '__skb_splice_bits' was not declared. Should it be static?
> 
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

Applied, thanks Harvey.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-17  3:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 19:51 [PATCH] net: make __skb_splice_bits static Harvey Harrison
2008-07-17  3:12 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).