netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Taehee Yoo <ap420073@gmail.com>
Cc: kbuild-all@01.org, pablo@netfilter.org, fw@strlen.de,
	netfilter-devel@vger.kernel.org, ap420073@gmail.com
Subject: [RFC PATCH] netfilter: nf_nat_snmp_basic: snmp_version() can be static
Date: Tue, 26 Dec 2017 11:25:57 +0800	[thread overview]
Message-ID: <20171226032557.GA27398@lkp-wsm-ep2> (raw)
In-Reply-To: <20171225150046.4227-1-ap420073@gmail.com>


Fixes: 499b2f89cea8 ("netfilter: nf_nat_snmp_basic: use asn1 decoder library")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 nf_nat_snmp_basic_main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/netfilter/nf_nat_snmp_basic_main.c b/net/ipv4/netfilter/nf_nat_snmp_basic_main.c
index b6e2770..b16d3ad 100644
--- a/net/ipv4/netfilter/nf_nat_snmp_basic_main.c
+++ b/net/ipv4/netfilter/nf_nat_snmp_basic_main.c
@@ -101,8 +101,8 @@ static void fast_csum(struct snmp_ctx *ctx, unsigned char offset)
 					     ~csum_unfold(*ctx->check)));
 }
 
-int snmp_version(void *context, size_t hdrlen, unsigned char tag,
-		 const void *data, size_t datalen)
+static int snmp_version(void *context, size_t hdrlen, unsigned char tag,
+			const void *data, size_t datalen)
 {
 	if (*(unsigned char *)data > 1)
 		return -ENOTSUPP;

  parent reply	other threads:[~2017-12-26  3:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-25 15:00 [PATCH V4 5/5] netfilter: nf_nat_snmp_basic: use asn1 decoder library Taehee Yoo
2017-12-26  3:25 ` kbuild test robot
2017-12-26  3:25 ` kbuild test robot [this message]
2018-01-07 15:17   ` [RFC PATCH] netfilter: nf_nat_snmp_basic: snmp_version() can be static Taehee Yoo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171226032557.GA27398@lkp-wsm-ep2 \
    --to=lkp@intel.com \
    --cc=ap420073@gmail.com \
    --cc=fw@strlen.de \
    --cc=kbuild-all@01.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).