From patchwork Tue Aug 23 15:07:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 661900 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3sJYhl3QKmz9sBr for ; Wed, 24 Aug 2016 01:07:51 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=up1tPwZM; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A1E2C8B8B5; Tue, 23 Aug 2016 15:07:49 +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 onxRUUgRSeEt; Tue, 23 Aug 2016 15:07:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 736718B8C8; Tue, 23 Aug 2016 15:07:47 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 28E911C2B2D for ; Tue, 23 Aug 2016 15:07:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 256338B8A2 for ; Tue, 23 Aug 2016 15:07:47 +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 iXqkcnmPzLUm for ; Tue, 23 Aug 2016 15:07:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by whitealder.osuosl.org (Postfix) with ESMTPS id 84AD78B8AC for ; Tue, 23 Aug 2016 15:07:46 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id i6so8453523pfe.0 for ; Tue, 23 Aug 2016 08:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z+kr/XQH/2uCPci8v9xOVpDTPAelOM48ymnBUWjMadI=; b=up1tPwZMera+7wSji0qvxNYI/o1JN1Q03j5VUTKYaiKyYKFwAQsdIeFdDn5/jXf5TF gwVFnOfsKw2IbtpIZAWDrI7moCVc9pXP8+xOiY7pskWJ8orgP8iUtpoASARSflby9BvH NY+rCEl2J6C+Oj9KaoqwXLOvvXpIZdovAEg/heCwHE1uULcLYBT11M0yLS81KRiLMBFA y3L8rLh9LNJtzCwBfgKKgHtznjxbtXnNsQWLNYmre0X5YwfHXAZful1ahBASoRsf/FiO kom7u0sWFsc1s0mYJxT181XLksG9oshEn5h16JWPzF0Yb2l5DjUHB99EjNw/8BekG/lw 6MEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z+kr/XQH/2uCPci8v9xOVpDTPAelOM48ymnBUWjMadI=; b=WNvacFG53Cb1Rkemuw9/+51BkrihwQjdza8zBRkImQGIpnSXHCAf6EKgWBpPA+Y4Ll n2OD9GuXQrtFF/Cn8yHNPioOBhkBsQHmG4ipP8rh84BwjLdLpIQHmLy2k5jWI4EVs1vQ PFh7rlYf2vSNJsQusEy8z+SOsfGMgAmhQ7GW8IJ7Dgj8RXCx+uKHwV7NxzGiK5NrpHd5 87rr/wjup6OuFPCyBXZpG6ykb2ui1Jp2McV4B4CwZHPoWLR528pAzD52AmsJ6Ss53gHI YEMOqbD4I9aeTymO/RDseho88VZhsbTJc+vlWSm61QjncZwyT1tYhXDItowMhepXsHgr 4oow== X-Gm-Message-State: AEkoouskKJPlPC43m9DEnAAlHZojjhOg377BAtHxc8gohaLPQ5jHkndXqR5kK5sa4qpW9A== X-Received: by 10.98.133.10 with SMTP id u10mr53738174pfd.134.1471964866147; Tue, 23 Aug 2016 08:07:46 -0700 (PDT) Received: from localhost.localdomain.localdomain (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id d5sm6551206pfa.44.2016.08.23.08.07.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Aug 2016 08:07:45 -0700 (PDT) From: Wei Yongjun To: Jeff Kirsher Date: Tue, 23 Aug 2016 15:07:22 +0000 Message-Id: <1471964842-335-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Cc: intel-wired-lan@lists.osuosl.org, Wei Yongjun , netdev@vger.kernel.org Subject: [Intel-wired-lan] [PATCH -next] ixgbe: Fix non static symbol warnings X-BeenThere: intel-wired-lan@lists.osuosl.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@lists.osuosl.org Sender: "Intel-wired-lan" From: Wei Yongjun Fixes the following sparse warnings: drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:2128:5: warning: symbol 'ixgbe_led_on_t_x550em' was not declared. Should it be static? drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:2150:5: warning: symbol 'ixgbe_led_off_t_x550em' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c index fb1b819..417913e 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c @@ -2125,7 +2125,7 @@ static s32 ixgbe_reset_phy_t_X550em(struct ixgbe_hw *hw) * @hw: pointer to hardware structure * @led_idx: led number to turn on **/ -s32 ixgbe_led_on_t_x550em(struct ixgbe_hw *hw, u32 led_idx) +static s32 ixgbe_led_on_t_x550em(struct ixgbe_hw *hw, u32 led_idx) { u16 phy_data; @@ -2147,7 +2147,7 @@ s32 ixgbe_led_on_t_x550em(struct ixgbe_hw *hw, u32 led_idx) * @hw: pointer to hardware structure * @led_idx: led number to turn off **/ -s32 ixgbe_led_off_t_x550em(struct ixgbe_hw *hw, u32 led_idx) +static s32 ixgbe_led_off_t_x550em(struct ixgbe_hw *hw, u32 led_idx) { u16 phy_data;