From patchwork Wed Mar 4 21:33:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kbuild test robot X-Patchwork-Id: 446446 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7B6F814016B for ; Thu, 5 Mar 2015 08:34:53 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753112AbbCDVeW (ORCPT ); Wed, 4 Mar 2015 16:34:22 -0500 Received: from mga02.intel.com ([134.134.136.20]:46788 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751806AbbCDVeU (ORCPT ); Wed, 4 Mar 2015 16:34:20 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 04 Mar 2015 13:34:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,343,1422950400"; d="scan'208";a="675244617" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 04 Mar 2015 13:34:19 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1YTGvp-00033N-8g; Thu, 05 Mar 2015 05:34:17 +0800 Date: Thu, 5 Mar 2015 05:33:54 +0800 From: kbuild test robot To: "Eric W. Biederman" 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 Message-ID: <20150304213354.GA121629@lkp-sb04.lkp.intel.com> References: <201503050540.GRC4YbDo%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201503050540.GRC4YbDo%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Fengguang Wu --- 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 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 }, };