From patchwork Tue Sep 4 15:39:21 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: 965971 X-Patchwork-Delegate: bpf@iogearbox.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=fail (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 424W094wFRz9s3C for ; Wed, 5 Sep 2018 01:26:49 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727407AbeIDTwW (ORCPT ); Tue, 4 Sep 2018 15:52:22 -0400 Received: from mga17.intel.com ([192.55.52.151]:44325 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbeIDTwW (ORCPT ); Tue, 4 Sep 2018 15:52:22 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2018 08:26:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,329,1531810800"; d="scan'208";a="254418052" Received: from pl-dbox.sh.intel.com (HELO intel.com) ([10.239.13.138]) by orsmga005.jf.intel.com with ESMTP; 04 Sep 2018 08:26:46 -0700 Date: Tue, 4 Sep 2018 23:39:21 +0800 From: kbuild test robot To: Jesper Dangaard Brouer Cc: kbuild-all@01.org, netdev@vger.kernel.org, Daniel Borkmann , Alexei Starovoitov , Jesper Dangaard Brouer Subject: [RFC PATCH] xdp: xdp_do_redirect_slow() can be static Message-ID: <20180904153921.GY17047@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <153572917749.27338.853717648840898807.stgit@firesoul> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes: 974efdb08a35 ("xdp: split code for map vs non-map redirect") Signed-off-by: kbuild test robot --- filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/filter.c b/net/core/filter.c index 45ea00b..95454f3 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -3171,7 +3171,7 @@ static int __bpf_tx_xdp(struct net_device *dev, } /* non-static to avoid inline by compiler */ -int xdp_do_redirect_slow(struct net_device *dev, struct xdp_buff *xdp, +static int xdp_do_redirect_slow(struct net_device *dev, struct xdp_buff *xdp, struct bpf_prog *xdp_prog, struct bpf_redirect_info *ri) { struct net_device *fwd;