From patchwork Mon Jul 23 21:04:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kbuild test robot X-Patchwork-Id: 948043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=osuosl.org (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41ZDXT2g84z9ryn for ; Tue, 24 Jul 2018 07:05:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 715DF87C02; Mon, 23 Jul 2018 21:05:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5hqxIYfFnbDV; Mon, 23 Jul 2018 21:05:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2EFAE87BFF; Mon, 23 Jul 2018 21:05:10 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 253D61CF309 for ; Mon, 23 Jul 2018 21:05:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1873424E08 for ; Mon, 23 Jul 2018 21:05:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74K6YzpoXH1e for ; Mon, 23 Jul 2018 21:05:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by silver.osuosl.org (Postfix) with ESMTPS id 731C320791 for ; Mon, 23 Jul 2018 21:05:07 +0000 (UTC) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2018 14:05:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,394,1526367600"; d="scan'208";a="58845970" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga007.jf.intel.com with ESMTP; 23 Jul 2018 14:05:06 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fhi0v-000Y0A-47; Tue, 24 Jul 2018 05:05:05 +0800 Date: Tue, 24 Jul 2018 05:04:13 +0800 From: kbuild test robot To: Jayaprakash Shanmugam Message-ID: <20180723210413.GA7085@lkp-sbx04> References: <201807240548.0XzJcSzH%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201807240548.0XzJcSzH%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Subject: [Intel-wired-lan] [RFC PATCH jkirsher-next-queue] i40e: len_ethhdr can be static X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-wired-lan@lists.osuosl.org, kbuild-all@01.org Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Fixes: 58e0270bb7ac ("i40e: Initial support to add hw hints for xdp") Signed-off-by: kbuild test robot --- i40e_txrx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.c b/drivers/net/ethernet/intel/i40e/i40e_txrx.c index 09536d7e7..ab8b97f 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_txrx.c +++ b/drivers/net/ethernet/intel/i40e/i40e_txrx.c @@ -2296,9 +2296,9 @@ static inline void i40e_xdp_ring_update_tail(struct i40e_ring *xdp_ring) writel_relaxed(xdp_ring->next_to_use, xdp_ring->tail); }; -const size_t len_ethhdr = sizeof(struct ethhdr); -const size_t len_ipv4hdr = sizeof(struct iphdr); -const size_t len_ipv6hdr = sizeof(struct ipv6hdr); +static const size_t len_ethhdr = sizeof(struct ethhdr); +static const size_t len_ipv4hdr = sizeof(struct iphdr); +static const size_t len_ipv6hdr = sizeof(struct ipv6hdr); enum XDP_META_PTYPE {