From patchwork Sun Jun 24 18:13:07 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: 933938 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.137; helo=fraxinus.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 fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41DL6b62Xhz9s01 for ; Mon, 25 Jun 2018 04:14:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EE9B3864F7; Sun, 24 Jun 2018 18:14:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FDfm3n00v0bY; Sun, 24 Jun 2018 18:14:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CC67A864EA; Sun, 24 Jun 2018 18:14:12 +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 4C3171C1FC1 for ; Sun, 24 Jun 2018 18:14:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 48E1121FEF for ; Sun, 24 Jun 2018 18:14:11 +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 Y3Cq9qWtO8fD for ; Sun, 24 Jun 2018 18:14:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by silver.osuosl.org (Postfix) with ESMTPS id 2479122ED9 for ; Sun, 24 Jun 2018 18:14:09 +0000 (UTC) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2018 11:14:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,267,1526367600"; d="scan'208";a="66848424" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 24 Jun 2018 11:14:07 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fX9WW-0001Nf-40; Mon, 25 Jun 2018 02:14:04 +0800 Date: Mon, 25 Jun 2018 02:13:07 +0800 From: kbuild test robot To: Sasha Neftin Message-ID: <20180624181307.GA66799@lkp-hsx03> References: <20180624084528.10419-1-sasha.neftin@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180624084528.10419-1-sasha.neftin@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] igc: igc_has_link() 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: d32b0b485e39 ("igc: Add watchdog") Signed-off-by: kbuild test robot --- igc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c index 7fb21af..ed27584 100644 --- a/drivers/net/ethernet/intel/igc/igc_main.c +++ b/drivers/net/ethernet/intel/igc/igc_main.c @@ -2334,7 +2334,7 @@ static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx) * igc_has_link - check shared code for link and determine up/down * @adapter: pointer to driver private info **/ -bool igc_has_link(struct igc_adapter *adapter) +static bool igc_has_link(struct igc_adapter *adapter) { struct e1000_hw *hw = &adapter->hw; bool link_active = false;