From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C027C48BC2 for ; Wed, 23 Jun 2021 19:46:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6679B6115A for ; Wed, 23 Jun 2021 19:46:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6679B6115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Rd/9lsutfZq4UsaF79psK0ghNu4pYUCA4CPPUW7gEsQ=; b=3ykz9V5Fd1KS58 TqR5jtP6mykMRheeXt8oglZI9A3s6AEHjC018aSMV59MoPvbIQhXoIMUSqie86Eg9aZjkZo5K6F1T 7PERLM1ak23D0wAtwZdPl5rEw9NrGlUfy8nGFTbLRrSJaawxwUz9sQkqKUiFl4TqgCVmmQV7jCv9D lh3Fy5EnoJH8JxE5gpYv7q+XfXyRaxHbNq1QFp+ElTrz75+zDWBYKs67tmI93EgpWzgJNJW7IbwE+ 1ZZxhBmh/shYMkXMZeTSS1/Z0DMlaOQmf1sVyXNKpSJeRl9I0Ymxev3peGeSnsGAPWrzKimI20kGG wGqF3WhCO+13kk17UNbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw8nx-00BpfL-Jt; Wed, 23 Jun 2021 19:44:57 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw8nt-00BpeW-Bg for linux-arm-kernel@lists.infradead.org; Wed, 23 Jun 2021 19:44:54 +0000 IronPort-SDR: rwzwhC4qsH8BECVlMUHkTbuitjqhjK6E/A18dvNJvgWn4u7f9JYsg/uez+6o/LPZxqnloGsiiR zeVXZDgnxvPA== X-IronPort-AV: E=McAfee;i="6200,9189,10024"; a="207376437" X-IronPort-AV: E=Sophos;i="5.83,294,1616482800"; d="scan'208";a="207376437" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2021 12:44:52 -0700 IronPort-SDR: Duurh6C63unDZOnPBaHbCWIFRLG2G5SxjF/H2gG6kUTxp9UWJFEOhFj0Sc9L3VEyGGJYGA9IoS rd/wtJFA6NjQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,294,1616482800"; d="scan'208";a="487458503" Received: from lkp-server01.sh.intel.com (HELO 4aae0cb4f5b5) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 23 Jun 2021 12:44:50 -0700 Received: from kbuild by 4aae0cb4f5b5 with local (Exim 4.92) (envelope-from ) id 1lw8nq-00066t-1s; Wed, 23 Jun 2021 19:44:50 +0000 Date: Thu, 24 Jun 2021 03:44:44 +0800 From: kernel test robot To: Shravya Kumbham Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Michal Simek , Harini Katakam Subject: [RFC PATCH xlnx] net: xilinx: axienet_ethtools_sset_count() can be static Message-ID: <20210623194444.GA4299@cf1f8110e8b5> References: <202106240342.Jjf8jp8a-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202106240342.Jjf8jp8a-lkp@intel.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210623_124453_488163_2B951E97 X-CRM114-Status: GOOD ( 13.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2650:5: warning: symbol 'axienet_ethtools_sset_count' was not declared. Should it be static? drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2673:6: warning: symbol 'axienet_ethtools_get_stats' was not declared. Should it be static? drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2700:6: warning: symbol 'axienet_ethtools_strings' was not declared. Should it be static? Fixes: 0605a36e0574 ("net: xilinx: Ethtool statistics support") Reported-by: kernel test robot Signed-off-by: kernel test robot --- xilinx_axienet_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index 3911718d5618b..e56ccdb41867d 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -2647,7 +2647,7 @@ static int axienet_ethtools_get_ts_info(struct net_device *ndev, * Return: number of strings, on success, Non-zero error value on * failure. */ -int axienet_ethtools_sset_count(struct net_device *ndev, int sset) +static int axienet_ethtools_sset_count(struct net_device *ndev, int sset) { switch (sset) { case ETH_SS_STATS: @@ -2670,9 +2670,9 @@ int axienet_ethtools_sset_count(struct net_device *ndev, int sset) * * Return: None. */ -void axienet_ethtools_get_stats(struct net_device *ndev, - struct ethtool_stats *stats, - u64 *data) +static void axienet_ethtools_get_stats(struct net_device *ndev, + struct ethtool_stats *stats, + u64 *data) { unsigned int i = 0; @@ -2697,7 +2697,7 @@ void axienet_ethtools_get_stats(struct net_device *ndev, * * Return: None. */ -void axienet_ethtools_strings(struct net_device *ndev, u32 sset, u8 *data) +static void axienet_ethtools_strings(struct net_device *ndev, u32 sset, u8 *data) { int i; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel