From patchwork Mon Jun 18 10:18:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 165445 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 1641AB72D3 for ; Mon, 18 Jun 2012 20:18:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751514Ab2FRKSf (ORCPT ); Mon, 18 Jun 2012 06:18:35 -0400 Received: from nat28.tlf.novell.com ([130.57.49.28]:60624 "EHLO nat28.tlf.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751864Ab2FRKSf convert rfc822-to-8bit (ORCPT ); Mon, 18 Jun 2012 06:18:35 -0400 Received: from EMEA1-MTA by nat28.tlf.novell.com with Novell_GroupWise; Mon, 18 Jun 2012 11:18:33 +0100 Message-Id: <4FDF1C97020000780008A64E@nat28.tlf.novell.com> X-Mailer: Novell GroupWise Internet Agent 12.0.0 Date: Mon, 18 Jun 2012 11:18:31 +0100 From: "Jan Beulich" To: , Cc: Subject: [PATCH] properly annotate ipv4_netfilter_{init,fini}() Mime-Version: 1.0 Content-Disposition: inline Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Despite being just a few bytes of code, they should still have proper annotations. Signed-off-by: Jan Beulich --- net/ipv4/netfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 3.5-rc3/net/ipv4/netfilter.c +++ 3.5-rc3-ipv4-netfilter-sections/net/ipv4/netfilter.c @@ -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); }