properly annotate ipv4_netfilter_{init,fini}()
Subsystems (2)
PATCH 1/1 properly annotate ipv4_netfilter_{init,fini}()
Despite being just a few bytes of code, they should still have proper annotations.
Signed-off-by Jan Beulich <[email protected]>
--- net/ipv4/netfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/ipv4/netfilter.c +2 -2
@@ -225,12 +225,12 @@ static const struct nf_afinfo nf_ip_afin .route_key_size = sizeof(struct ip_rt_info), }; -static int ipv4_netfilter_init (void ) +static int __init ipv4_netfilter_init (void ) {return nf_register_afinfo (&nf_ip_afinfo); } -static void ipv4_netfilter_fini (void ) +static void __exit ipv4_netfilter_fini(void) {nf_unregister_afinfo (&nf_ip_afinfo); }
Pablo Neira Ayuso
maintainerQuoted 2 lines · Jan Beulich
Despite being just a few bytes of code, they should still have proper annotations.
I missed this small one, now applied, thanks Jan.