From: kbuild test robot <fengguang.wu@intel.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH jtkirshe-net-next] mpls: rtm_mpls_policy[] can be static
Date: Thu, 5 Mar 2015 05:33:54 +0800 [thread overview]
Message-ID: <20150304213354.GA121629@lkp-sb04.lkp.intel.com> (raw)
In-Reply-To: <201503050540.GRC4YbDo%fengguang.wu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
af_mpls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c
index b4d7cec..ee9a4b6 100644
--- a/net/mpls/af_mpls.c
+++ b/net/mpls/af_mpls.c
@@ -212,7 +212,7 @@ static struct packet_type mpls_packet_type __read_mostly = {
.func = mpls_forward,
};
-const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
+static const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
[RTA_DST] = { .type = NLA_U32 },
[RTA_OIF] = { .type = NLA_U32 },
};
next prev parent reply other threads:[~2015-03-04 21:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 21:33 [jtkirshe-net-next:community 284/296] net/mpls/af_mpls.c:215:25: sparse: symbol 'rtm_mpls_policy' was not declared. Should it be static? kbuild test robot
2015-03-04 21:33 ` kbuild test robot [this message]
2015-03-04 21:40 ` [PATCH jtkirshe-net-next] mpls: rtm_mpls_policy[] can be static David Miller
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=20150304213354.GA121629@lkp-sb04.lkp.intel.com \
--to=fengguang.wu@intel.com \
--cc=ebiederm@xmission.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.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
all inboxes | Powered by JetHome®