projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b211172
)
sctp: make sctp_addr_wq_timeout_handler static
author
stephen hemminger
<shemminger@vyatta.com>
Fri, 28 Dec 2012 18:18:55 +0000
(18:18 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 29 Dec 2012 04:32:36 +0000
(20:32 -0800)
Fix sparse warning about local function that should be static.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/protocol.c
b/net/sctp/protocol.c
index f898b1c58bd2cc9c35e49d796b2c4a06fe3376df..1c2e46cb919181f4005164ebe6e38cf5af5ecd6c 100644
(file)
--- a/
net/sctp/protocol.c
+++ b/
net/sctp/protocol.c
@@
-595,7
+595,7
@@
static void sctp_v4_ecn_capable(struct sock *sk)
INET_ECN_xmit(sk);
}
-void sctp_addr_wq_timeout_handler(unsigned long arg)
+
static
void sctp_addr_wq_timeout_handler(unsigned long arg)
{
struct net *net = (struct net *)arg;
struct sctp_sockaddr_entry *addrw, *temp;