From patchwork Tue May 15 01:38:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 913385 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40lKwF5fBnz9s0q for ; Tue, 15 May 2018 11:38:37 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752363AbeEOBid (ORCPT ); Mon, 14 May 2018 21:38:33 -0400 Received: from mga02.intel.com ([134.134.136.20]:15551 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752238AbeEOBib (ORCPT ); Mon, 14 May 2018 21:38:31 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2018 18:38:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,402,1520924400"; d="scan'208";a="41805036" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga006.jf.intel.com with ESMTP; 14 May 2018 18:38:27 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fIOv4-000KJb-MZ; Tue, 15 May 2018 09:38:26 +0800 Date: Tue, 15 May 2018 09:38:20 +0800 From: kbuild test robot To: Vlad Buslov Cc: kbuild-all@01.org, netdev@vger.kernel.org, davem@davemloft.net, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, pablo@netfilter.org, kadlec@blackhole.kfki.hu, fw@strlen.de, ast@kernel.org, daniel@iogearbox.net, edumazet@google.com, vladbu@mellanox.com, keescook@chromium.org, linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, kliteyn@mellanox.com Subject: [RFC PATCH] net: sched: __tcf_idr_check() can be static Message-ID: <20180515013820.GA78657@lkp-sbx04> References: <1526308035-12484-6-git-send-email-vladbu@mellanox.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1526308035-12484-6-git-send-email-vladbu@mellanox.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 Fixes: 446adedb5339 ("net: sched: always take reference to action") Signed-off-by: Fengguang Wu --- act_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 9459cce..27e80cf 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -284,8 +284,8 @@ int tcf_generic_walker(struct tc_action_net *tn, struct sk_buff *skb, } EXPORT_SYMBOL(tcf_generic_walker); -bool __tcf_idr_check(struct tc_action_net *tn, u32 index, struct tc_action **a, - int bind) +static bool __tcf_idr_check(struct tc_action_net *tn, u32 index, struct tc_action **a, + int bind) { struct tcf_idrinfo *idrinfo = tn->idrinfo; struct tc_action *p;