Re: [PATCH] ipv4 ping: Fix __init* attributes

2019-04-01 Thread David Miller
From: Andi Kleen Date: Fri, 29 Mar 2019 17:46:00 -0700 > From: Andi Kleen > > ping_v4_net_ops references init functions, so needs to be __initdata. > ping_proc_exit is then referenced from __initdata, so also needs > to be __init. > > Signed-off-by: Andi Kleen How can you spin up new network

[PATCH] ipv4 ping: Fix __init* attributes

2019-03-29 Thread Andi Kleen
From: Andi Kleen ping_v4_net_ops references init functions, so needs to be __initdata. ping_proc_exit is then referenced from __initdata, so also needs to be __init. Signed-off-by: Andi Kleen --- net/ipv4/ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/p