mptcp: add __init annotation on setup functions
Add the missing annotation in some setup-only functions. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
be7aa9facb
commit
d39dceca38
@@ -851,7 +851,7 @@ static struct pernet_operations mptcp_pm_pernet_ops = {
|
||||
.size = sizeof(struct pm_nl_pernet),
|
||||
};
|
||||
|
||||
void mptcp_pm_nl_init(void)
|
||||
void __init mptcp_pm_nl_init(void)
|
||||
{
|
||||
if (register_pernet_subsys(&mptcp_pm_pernet_ops) < 0)
|
||||
panic("Failed to register MPTCP PM pernet subsystem.\n");
|
||||
|
Reference in New Issue
Block a user