diff mbox

[jtkirshe-net-next] mpls: rtm_mpls_policy[] can be static

Message ID 20150304213354.GA121629@lkp-sb04.lkp.intel.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

kbuild test robot March 4, 2015, 9:33 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 af_mpls.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller March 4, 2015, 9:40 p.m. UTC | #1
From: kbuild test robot <fengguang.wu@intel.com>
Date: Thu, 5 Mar 2015 05:33:54 +0800

> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 },
 };