From patchwork Sun Jun 24 12:34:00 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: 933906 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41DBZj5mgmz9rxs for ; Sun, 24 Jun 2018 22:34:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 595C385F0D; Sun, 24 Jun 2018 12:34:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hVOX2S1bJLo7; Sun, 24 Jun 2018 12:34:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6EEB08603E; Sun, 24 Jun 2018 12:34:35 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 1B7921C2D26 for ; Sun, 24 Jun 2018 12:34:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 188A0869C8 for ; Sun, 24 Jun 2018 12:34:32 +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 dC-Du3Xg5nGC for ; Sun, 24 Jun 2018 12:34:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 32AC9869C0 for ; Sun, 24 Jun 2018 12:34:30 +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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2018 05:34:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,265,1526367600"; d="scan'208";a="66799700" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 24 Jun 2018 05:34:27 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fX4Dq-000Apg-EI; Sun, 24 Jun 2018 20:34:26 +0800 Date: Sun, 24 Jun 2018 20:34:00 +0800 From: kbuild test robot To: Sasha Neftin Message-ID: <20180624123359.GA130268@lkp-hsx03> References: <20180624084503.10065-1-sasha.neftin@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180624084503.10065-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_reset() 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: e1df6cb3a70b ("igc: Add netdev") Signed-off-by: kbuild test robot --- igc_main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c index 520f49b..32669855 100644 --- a/drivers/net/ethernet/intel/igc/igc_main.c +++ b/drivers/net/ethernet/intel/igc/igc_main.c @@ -34,7 +34,7 @@ static void igc_configure(struct igc_adapter *adapter); static void igc_power_down_link(struct igc_adapter *adapter); static void igc_set_default_mac_filter(struct igc_adapter *adapter); -void igc_reset(struct igc_adapter *adapter) +static void igc_reset(struct igc_adapter *adapter) { if (!netif_running(adapter->netdev)) igc_power_down_link(adapter); @@ -44,7 +44,7 @@ void igc_reset(struct igc_adapter *adapter) * igc_power_up_link - Power up the phy/serdes link * @adapter: address of board private structure **/ -void igc_power_up_link(struct igc_adapter *adapter) +static void igc_power_up_link(struct igc_adapter *adapter) { } @@ -144,7 +144,7 @@ static int igc_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) * igc_up - Open the interface and prepare it to handle traffic * @adapter: board private structure **/ -int igc_up(struct igc_adapter *adapter) +static int igc_up(struct igc_adapter *adapter) { int i = 0; @@ -163,7 +163,7 @@ int igc_up(struct igc_adapter *adapter) * igc_down - Close the interface * @adapter: board private structure **/ -void igc_down(struct igc_adapter *adapter) +static void igc_down(struct igc_adapter *adapter) { struct net_device *netdev = adapter->netdev; int i = 0; @@ -227,7 +227,7 @@ static int igc_change_mtu(struct net_device *netdev, int new_mtu) * igc_update_stats - Update the board statistics counters * @adapter: board private structure **/ -void igc_update_stats(struct igc_adapter *adapter) +static void igc_update_stats(struct igc_adapter *adapter) { } @@ -347,7 +347,7 @@ static int __igc_open(struct net_device *netdev, bool resuming) return E1000_SUCCESS; } -int igc_open(struct net_device *netdev) +static int igc_open(struct net_device *netdev) { return __igc_open(netdev, false); } @@ -376,7 +376,7 @@ static int __igc_close(struct net_device *netdev, bool suspending) return 0; } -int igc_close(struct net_device *netdev) +static int igc_close(struct net_device *netdev) { if (netif_device_present(netdev) || netdev->dismantle) return __igc_close(netdev, false);