Re: [-mm patch] make tcp_splice_data_recv() static

2007-09-12 Thread Jens Axboe
On Wed, Sep 12 2007, David Miller wrote:
> From: Adrian Bunk <[EMAIL PROTECTED]>
> Date: Sun, 9 Sep 2007 22:25:58 +0200
> 
> > On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
> > >...
> > > Changes since 2.6.23-rc3-mm1:
> > >...
> > >  git-block.patch
> > >...
> > >  git trees
> > >...
> > 
> > tcp_splice_data_recv() can become static.
> > 
> > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
> 
> I'll let Jens or similar pick this one up since it
> obviously won't apply to my tree.

I'll shove it in my #splice-net branch, where it originates from.

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [-mm patch] make tcp_splice_data_recv() static

2007-09-12 Thread David Miller
From: Adrian Bunk <[EMAIL PROTECTED]>
Date: Sun, 9 Sep 2007 22:25:58 +0200

> On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
> >...
> > Changes since 2.6.23-rc3-mm1:
> >...
> >  git-block.patch
> >...
> >  git trees
> >...
> 
> tcp_splice_data_recv() can become static.
> 
> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

I'll let Jens or similar pick this one up since it
obviously won't apply to my tree.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [-mm patch] make tcp_splice_data_recv() static

2007-09-12 Thread Jens Axboe
On Wed, Sep 12 2007, David Miller wrote:
 From: Adrian Bunk [EMAIL PROTECTED]
 Date: Sun, 9 Sep 2007 22:25:58 +0200
 
  On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
  ...
   Changes since 2.6.23-rc3-mm1:
  ...
git-block.patch
  ...
git trees
  ...
  
  tcp_splice_data_recv() can become static.
  
  Signed-off-by: Adrian Bunk [EMAIL PROTECTED]
 
 I'll let Jens or similar pick this one up since it
 obviously won't apply to my tree.

I'll shove it in my #splice-net branch, where it originates from.

-- 
Jens Axboe

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [-mm patch] make tcp_splice_data_recv() static

2007-09-12 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED]
Date: Sun, 9 Sep 2007 22:25:58 +0200

 On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
 ...
  Changes since 2.6.23-rc3-mm1:
 ...
   git-block.patch
 ...
   git trees
 ...
 
 tcp_splice_data_recv() can become static.
 
 Signed-off-by: Adrian Bunk [EMAIL PROTECTED]

I'll let Jens or similar pick this one up since it
obviously won't apply to my tree.

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[-mm patch] make tcp_splice_data_recv() static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.23-rc3-mm1:
>...
>  git-block.patch
>...
>  git trees
>...

tcp_splice_data_recv() can become static.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---
233aefd2a215430c16bd02eca06fb8a4b6079f7a 
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 22576e4..6623796 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -515,8 +515,9 @@ static inline void tcp_push(struct sock *sk, int flags, int 
mss_now,
}
 }
 
-int tcp_splice_data_recv(read_descriptor_t *rd_desc, struct sk_buff *skb,
-unsigned int offset, size_t len)
+static int tcp_splice_data_recv(read_descriptor_t *rd_desc,
+   struct sk_buff *skb,
+   unsigned int offset, size_t len)
 {
struct tcp_splice_state *tss = rd_desc->arg.data;
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[-mm patch] make tcp_splice_data_recv() static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
...
 Changes since 2.6.23-rc3-mm1:
...
  git-block.patch
...
  git trees
...

tcp_splice_data_recv() can become static.

Signed-off-by: Adrian Bunk [EMAIL PROTECTED]

---
233aefd2a215430c16bd02eca06fb8a4b6079f7a 
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 22576e4..6623796 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -515,8 +515,9 @@ static inline void tcp_push(struct sock *sk, int flags, int 
mss_now,
}
 }
 
-int tcp_splice_data_recv(read_descriptor_t *rd_desc, struct sk_buff *skb,
-unsigned int offset, size_t len)
+static int tcp_splice_data_recv(read_descriptor_t *rd_desc,
+   struct sk_buff *skb,
+   unsigned int offset, size_t len)
 {
struct tcp_splice_state *tss = rd_desc-arg.data;
 

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/