From patchwork Wed Feb 18 03:45:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 5842601 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E8AD09F36A for ; Wed, 18 Feb 2015 03:46:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1298120145 for ; Wed, 18 Feb 2015 03:46:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1B4012012E for ; Wed, 18 Feb 2015 03:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751823AbbBRDqt (ORCPT ); Tue, 17 Feb 2015 22:46:49 -0500 Received: from mga02.intel.com ([134.134.136.20]:3241 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751712AbbBRDqs (ORCPT ); Tue, 17 Feb 2015 22:46:48 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 17 Feb 2015 19:46:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,595,1418112000"; d="scan'208";a="667877537" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 17 Feb 2015 19:46:44 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1YNvb1-000It7-Qn; Wed, 18 Feb 2015 11:46:43 +0800 Date: Wed, 18 Feb 2015 11:45:53 +0800 From: kbuild test robot To: Mitesh Ahuja Cc: kbuild-all@01.org, Roland Dreier , Devesh Sharma , Selvin Xavier , Sean Hefty , Hal Rosenstock , Duan Jiong , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH next] RDMA/ocrdma: ocrdma_sysfs_rcv_pkts() can be static Message-ID: <20150218034553.GA38068@snb> References: <201502181128.AqJYFmKG%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201502181128.AqJYFmKG%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/infiniband/hw/ocrdma/ocrdma_stats.c:253:5: sparse: symbol 'ocrdma_sysfs_rcv_pkts' was not declared. Should it be static? drivers/infiniband/hw/ocrdma/ocrdma_stats.c:264:5: sparse: symbol 'ocrdma_sysfs_rcv_data' was not declared. Should it be static? drivers/infiniband/hw/ocrdma/ocrdma_stats.c:317:5: sparse: symbol 'ocrdma_sysfs_xmit_pkts' was not declared. Should it be static? drivers/infiniband/hw/ocrdma/ocrdma_stats.c:332:5: sparse: symbol 'ocrdma_sysfs_xmit_data' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- ocrdma_stats.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_stats.c b/drivers/infiniband/hw/ocrdma/ocrdma_stats.c index 9d1701f..614d1a8 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_stats.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_stats.c @@ -250,7 +250,7 @@ static char *ocrdma_rx_stats(struct ocrdma_dev *dev) return stats; } -u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) +static u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) { struct ocrdma_rdma_stats_resp *rdma_stats = (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; @@ -261,7 +261,7 @@ u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) + (u64)rx_stats->roce_frame_payload_len_drops; } -u64 ocrdma_sysfs_rcv_data(struct ocrdma_dev *dev) +static u64 ocrdma_sysfs_rcv_data(struct ocrdma_dev *dev) { struct ocrdma_rdma_stats_resp *rdma_stats = (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; @@ -314,7 +314,7 @@ static char *ocrdma_tx_stats(struct ocrdma_dev *dev) return stats; } -u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev) +static u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev) { struct ocrdma_rdma_stats_resp *rdma_stats = (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; @@ -329,7 +329,7 @@ u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev) convert_to_64bit(tx_stats->ack_pkts_lo, tx_stats->ack_pkts_hi)); } -u64 ocrdma_sysfs_xmit_data(struct ocrdma_dev *dev) +static u64 ocrdma_sysfs_xmit_data(struct ocrdma_dev *dev) { struct ocrdma_rdma_stats_resp *rdma_stats = (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va;