projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cefdd1
)
tcp_output: fix sparse warning for tcp_wfree
author
Silviu-Mihai Popescu
<silviupopescu1990@gmail.com>
Sat, 4 Aug 2012 09:31:29 +0000
(09:31 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 6 Aug 2012 20:29:56 +0000
(13:29 -0700)
Fix sparse warning:
* symbol 'tcp_wfree' was not declared. Should it be static?
Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_output.c
b/net/ipv4/tcp_output.c
index a7b3ec9b6c3ee33a9bc8730c45f8f3d85b034196..20dfd892c86f7128c7408833e57cfbe4ee39be88 100644
(file)
--- a/
net/ipv4/tcp_output.c
+++ b/
net/ipv4/tcp_output.c
@@
-940,7
+940,7
@@
void __init tcp_tasklet_init(void)
* We cant xmit new skbs from this context, as we might already
* hold qdisc lock.
*/
-void tcp_wfree(struct sk_buff *skb)
+
static
void tcp_wfree(struct sk_buff *skb)
{
struct sock *sk = skb->sk;
struct tcp_sock *tp = tcp_sk(sk);