* [PATCH 1/1 linux-next] net/dccp/proto.c: add __init to dccp_mib_init
@ 2014-10-01 4:48 Fabian Frederick
2014-10-01 22:34 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frederick @ 2014-10-01 4:48 UTC (permalink / raw)
To: linux-kernel
Cc: Fabian Frederick, Gerrit Renker, David S. Miller, dccp, netdev
dccp_mib_init is only called by __init dccp_init in same module.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
net/dccp/proto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index e421edd..6d090c4 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -1082,7 +1082,7 @@ void dccp_shutdown(struct sock *sk, int how)
EXPORT_SYMBOL_GPL(dccp_shutdown);
-static inline int dccp_mib_init(void)
+static inline int __init dccp_mib_init(void)
{
dccp_statistics = alloc_percpu(struct dccp_mib);
if (!dccp_statistics)
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1 linux-next] net/dccp/proto.c: add __init to dccp_mib_init
2014-10-01 4:48 [PATCH 1/1 linux-next] net/dccp/proto.c: add __init to dccp_mib_init Fabian Frederick
@ 2014-10-01 22:34 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-10-01 22:34 UTC (permalink / raw)
To: fabf; +Cc: linux-kernel, gerrit, dccp, netdev
From: Fabian Frederick <fabf@skynet.be>
Date: Wed, 1 Oct 2014 06:48:03 +0200
> dccp_mib_init is only called by __init dccp_init in same module.
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-01 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01 4:48 [PATCH 1/1 linux-next] net/dccp/proto.c: add __init to dccp_mib_init Fabian Frederick
2014-10-01 22:34 ` 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).