Skip to content

Commit

Permalink
netfilter: properly annotate ipv4_netfilter_{init,fini}()
Browse files Browse the repository at this point in the history
Despite being just a few bytes of code, they should still have proper
annotations.

Signed-off-by: Jan Beulich <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
  • Loading branch information
jbeulich authored and ummakynes committed Sep 3, 2012
1 parent 1c15b67 commit ce9f3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ipv4/netfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ static const struct nf_afinfo nf_ip_afinfo = {
.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);
}
Expand Down

0 comments on commit ce9f3f3

Please sign in to comment.